|
SimGrid
3.21
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>
Inherits simgrid::xbt::Extendable< NetPoint >.
Public Types | |
| enum | Type { Type::Host, Type::Router, Type::NetZone } |
Public Member Functions | |
| NetPoint (std::string name, NetPoint::Type component_type, NetZoneImpl *netzone_p) | |
| ~NetPoint ()=default | |
| unsigned int | id () |
| const std::string & | get_name () const |
| const char * | get_cname () const |
| NetZoneImpl * | get_englobing_zone () |
| the NetZone in which this NetPoint is included More... | |
| bool | is_netzone () |
| bool | is_host () |
| bool | is_router () |
| bool | operator< (const NetPoint &rhs) const |
Public Member Functions inherited from simgrid::xbt::Extendable< NetPoint > | |
| 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 *)> | on_creation |
Additional Inherited Members | |
Static Public Member Functions inherited from simgrid::xbt::Extendable< NetPoint > | |
| 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 | component_type, | ||
| NetZoneImpl * | netzone_p | ||
| ) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
the NetZone in which this NetPoint is included
|
inline |
|
inline |
|
inline |
|
inline |
|
static |