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

#include <yarp/manager/logicresource.h>

+ Inheritance diagram for yarp::manager::Platform:

Public Member Functions

 Platform ()
 Class Platform. More...
 
 Platform (const char *szName)
 
 ~Platform () override
 
Nodeclone () override
 
bool satisfy (GenericResource *resource) override
 
void setDistribution (const char *str)
 
void setRelease (const char *str)
 
const char * getDistribution ()
 
const char * getRelease ()
 
- 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 22 of file logicresource.h.

Constructor & Destructor Documentation

◆ Platform() [1/2]

Platform::Platform ( )

Class Platform.

Definition at line 21 of file logicresource.cpp.

◆ Platform() [2/2]

Platform::Platform ( const char *  szName)

Definition at line 25 of file logicresource.cpp.

◆ ~Platform()

Platform::~Platform ( )
overridedefault

Member Function Documentation

◆ clone()

Node * Platform::clone ( )
overridevirtual

Implements yarp::manager::Node.

Definition at line 30 of file logicresource.cpp.

◆ getDistribution()

const char* yarp::manager::Platform::getDistribution ( )
inline

Definition at line 33 of file logicresource.h.

◆ getRelease()

const char* yarp::manager::Platform::getRelease ( )
inline

Definition at line 34 of file logicresource.h.

◆ satisfy()

bool Platform::satisfy ( GenericResource resource)
overridevirtual

Implements yarp::manager::GenericResource.

Definition at line 36 of file logicresource.cpp.

◆ setDistribution()

void yarp::manager::Platform::setDistribution ( const char *  str)
inline

Definition at line 31 of file logicresource.h.

◆ setRelease()

void yarp::manager::Platform::setRelease ( const char *  str)
inline

Definition at line 32 of file logicresource.h.


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