SimGrid
3.18
Versatile Simulation of Distributed Systems
|
Network cards are the vertices in the graph representing the network, used to compute paths between nodes.
This represents a position in the network. One can send information between two netpoints
#include <NetPoint.hpp>
Public Types | |
enum | Type { Type::Host, Type::Router, Type::NetZone } |
Public Member Functions | |
NetPoint (std::string name, NetPoint::Type componentType, NetZoneImpl *netzone_p) | |
~NetPoint ()=default | |
unsigned int | id () |
const std::string & | getName () const |
const char * | getCname () const |
NetZoneImpl * | netzone () |
the NetZone in which this NetPoint is included More... | |
bool | isNetZone () |
bool | isHost () |
bool | isRouter () |
bool | operator< (const NetPoint &rhs) const |
![]() | |
Extendable () | |
~Extendable () | |
void * | extension (std::size_t rank) |
U * | extension (Extension< NetPoint, U > rank) |
U * | extension () |
void | extension_set (std::size_t rank, void *value, bool use_dtor=true) |
void | extension_set (Extension< NetPoint, U > rank, U *value, bool use_dtor=true) |
void | extension_set (U *p) |
Static Public Attributes | |
static simgrid::xbt::signal< void(NetPoint *)> | onCreation |
Additional Inherited Members | |
![]() | |
static size_t | extension_create (void(*deleter)(void *)) |
static Extension< NetPoint, U > | extension_create (void(*deleter)(void *)) |
static Extension< NetPoint, U > | extension_create () |
|
strong |
simgrid::kernel::routing::NetPoint::NetPoint | ( | std::string | name, |
NetPoint::Type | componentType, | ||
NetZoneImpl * | netzone_p | ||
) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
the NetZone in which this NetPoint is included
|
inline |
|
inline |
|
inline |
|
inline |
|
static |