YARP
Yet Another Robot Platform
yarp::manager::Network Class Reference

#include <yarp/manager/primresource.h>

+ Inheritance diagram for yarp::manager::Network:

Public Member Functions

 Network ()
 Class Network. More...
 
 Network (const char *szName)
 
virtual ~Network ()
 
Nodeclone () override
 
bool satisfy (GenericResource *resource) override
 
void setIP4 (const char *ip)
 
void setIP6 (const char *ip)
 
void setMAC (const char *mac)
 
const char * getIP4 ()
 
const char * getIP6 ()
 
const char * getMAC ()
 
- Public Member Functions inherited from yarp::manager::GenericResource
 GenericResource (const char *szTypeName)
 Class GenericResource. More...
 
 ~GenericResource () override
 
void setAvailability (bool flag)
 
bool getAvailability ()
 
void setDisable (bool flag)
 
bool getDisable ()
 
void setName (const char *szName)
 
const char * getName ()
 
void setDescription (const char *szDesc)
 
const char * getDescription ()
 
const char * getTypeName ()
 
void setOwner (Node *owner)
 
Nodeowner ()
 
void setXmlFile (const char *szFilename)
 
const char * getXmlFile ()
 
bool operator== (const GenericResource &res) const
 
- Public Member Functions inherited from yarp::manager::Node
 Node (NodeType _type)
 
 Node (NodeType _type, const char *szLabel)
 
virtual ~Node ()
 
void setSatisfied (bool sat)
 
bool isSatisfied ()
 
void setVisited (bool vis)
 
bool isVisited ()
 
bool isLeaf ()
 
NodeType getType ()
 
void setLabel (const char *szLabel)
 
const char * getLabel ()
 
int sucCount ()
 
LinkgetLinkAt (int index)
 
bool addSuc (Node *node, float weight, bool _virtual=false)
 class Node More...
 
bool removeSuc (Node *node)
 
void removeAllSuc ()
 
bool hasSuc (Node *node)
 
GraphicModelgetModel ()
 
void setModel (GraphicModel *mdl)
 

Detailed Description

Definition at line 76 of file primresource.h.

Constructor & Destructor Documentation

◆ Network() [1/2]

Network::Network ( )

Class Network.

Definition at line 100 of file primresource.cpp.

◆ Network() [2/2]

Network::Network ( const char *  szName)

Definition at line 105 of file primresource.cpp.

◆ ~Network()

Network::~Network ( )
virtualdefault

Member Function Documentation

◆ clone()

Node * Network::clone ( )
overridevirtual

Implements yarp::manager::Node.

Definition at line 124 of file primresource.cpp.

◆ getIP4()

const char* yarp::manager::Network::getIP4 ( )
inline

Definition at line 87 of file primresource.h.

◆ getIP6()

const char* yarp::manager::Network::getIP6 ( )
inline

Definition at line 88 of file primresource.h.

◆ getMAC()

const char* yarp::manager::Network::getMAC ( )
inline

Definition at line 89 of file primresource.h.

◆ satisfy()

bool Network::satisfy ( GenericResource resource)
overridevirtual

Implements yarp::manager::GenericResource.

Definition at line 110 of file primresource.cpp.

◆ setIP4()

void yarp::manager::Network::setIP4 ( const char *  ip)
inline

Definition at line 84 of file primresource.h.

◆ setIP6()

void yarp::manager::Network::setIP6 ( const char *  ip)
inline

Definition at line 85 of file primresource.h.

◆ setMAC()

void yarp::manager::Network::setMAC ( const char *  mac)
inline

Definition at line 86 of file primresource.h.


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