|
SimGrid
3.14.159
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 route information between two netcards
#include <NetCard.hpp>
Public Types | |
| enum | Type { Type::Host, Type::Router, Type::NetZone } |
Public Member Functions | |
| NetCard (std::string name, NetCard::Type componentType, NetZoneImpl *netzone_p) | |
| ~NetCard ()=default | |
| unsigned int | id () |
| std::string | name () |
| const char * | cname () |
| NetZoneImpl * | netzone () |
| the NetZone in which this netcard is included More... | |
| bool | isNetZone () |
| bool | isHost () |
| bool | isRouter () |
| bool | operator< (const NetCard &rhs) const |
Public Member Functions inherited from simgrid::xbt::Extendable< NetCard > | |
| Extendable () | |
| ~Extendable () | |
| void * | extension (std::size_t rank) |
| U * | extension (Extension< NetCard, U > rank) |
| U * | extension () |
| void | extension_set (std::size_t rank, void *value, bool use_dtor=true) |
| void | extension_set (Extension< NetCard, U > rank, U *value, bool use_dtor=true) |
| void | extension_set (U *p) |
Static Public Attributes | |
| static simgrid::xbt::signal< void(NetCard *)> | onCreation |
Additional Inherited Members | |
Static Public Member Functions inherited from simgrid::xbt::Extendable< NetCard > | |
| static size_t | extension_create (void(*deleter)(void *)) |
| static Extension< NetCard, U > | extension_create (void(*deleter)(void *)) |
| static Extension< NetCard, U > | extension_create () |
Protected Attributes inherited from simgrid::xbt::Extendable< NetCard > | |
| std::vector< void *> | extensions_ |
|
strong |
| simgrid::kernel::routing::NetCard::NetCard | ( | std::string | name, |
| NetCard::Type | componentType, | ||
| NetZoneImpl * | netzone_p | ||
| ) |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
the NetZone in which this netcard is included
|
inline |
|
inline |
|
inline |
|
inline |
|
static |