SimGrid  3.13
Versatile Simulation of Distributed Systems
simgrid::surf::NetCard Class Referenceabstract

Network cards are the vertices in the graph representing the network, used to compute paths between nodes. More...

#include <surf_routing.hpp>

Inheritance diagram for simgrid::surf::NetCard:
simgrid::surf::NetCardImpl

Public Types

enum  Type { Type::Host, Type::Router, Type::As }
 

Public Member Functions

virtual ~NetCard ()
 
virtual int id ()=0
 
virtual char * name ()=0
 
virtual AsImplcontainingAS ()=0
 
virtual bool isAS ()=0
 
virtual bool isHost ()=0
 
virtual bool isRouter ()=0
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
Host 
Router 
As 

Constructor & Destructor Documentation

virtual simgrid::surf::NetCard::~NetCard ( )
inlinevirtual

Member Function Documentation

virtual int simgrid::surf::NetCard::id ( )
pure virtual

Implemented in simgrid::surf::NetCardImpl.

virtual char* simgrid::surf::NetCard::name ( )
pure virtual

Implemented in simgrid::surf::NetCardImpl.

virtual AsImpl* simgrid::surf::NetCard::containingAS ( )
pure virtual

Implemented in simgrid::surf::NetCardImpl.

virtual bool simgrid::surf::NetCard::isAS ( )
pure virtual

Implemented in simgrid::surf::NetCardImpl.

virtual bool simgrid::surf::NetCard::isHost ( )
pure virtual

Implemented in simgrid::surf::NetCardImpl.

virtual bool simgrid::surf::NetCard::isRouter ( )
pure virtual

Implemented in simgrid::surf::NetCardImpl.


The documentation for this class was generated from the following file: