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

Link holding all the links of a node. More...

#include <yarp/manager/node.h>

Public Member Functions

 Link (Node *to, float weight, bool virtualLink=false)
 
virtual ~Link ()
 
Nodeto ()
 
void setWeight (float w)
 
float weight ()
 
void setVirtual (bool virtualLink)
 
bool isVirtual ()
 

Detailed Description

Link holding all the links of a node.

Definition at line 41 of file node.h.

Constructor & Destructor Documentation

◆ Link()

yarp::manager::Link::Link ( Node to,
float  weight,
bool  virtualLink = false 
)
inline

Definition at line 44 of file node.h.

◆ ~Link()

virtual yarp::manager::Link::~Link ( )
inlinevirtual

Definition at line 49 of file node.h.

Member Function Documentation

◆ isVirtual()

bool yarp::manager::Link::isVirtual ( )
inline

Definition at line 54 of file node.h.

◆ setVirtual()

void yarp::manager::Link::setVirtual ( bool  virtualLink)
inline

Definition at line 53 of file node.h.

◆ setWeight()

void yarp::manager::Link::setWeight ( float  w)
inline

Definition at line 51 of file node.h.

◆ to()

Node* yarp::manager::Link::to ( )
inline

Definition at line 50 of file node.h.

◆ weight()

float yarp::manager::Link::weight ( )
inline

Definition at line 52 of file node.h.


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