YARP
Yet Another Robot Platform
yarp::manager::GenericResource Class Referenceabstract

#include <yarp/manager/resource.h>

+ Inheritance diagram for yarp::manager::GenericResource:

Public Member Functions

 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 ()
 
virtual bool satisfy (GenericResource *resource)=0
 
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)
 
virtual Nodeclone ()=0
 
GraphicModelgetModel ()
 
void setModel (GraphicModel *mdl)
 

Detailed Description

Definition at line 17 of file resource.h.

Constructor & Destructor Documentation

◆ GenericResource()

GenericResource::GenericResource ( const char *  szTypeName)

Class GenericResource.

Definition at line 15 of file resource.cpp.

◆ ~GenericResource()

GenericResource::~GenericResource ( )
overridedefault

Member Function Documentation

◆ getAvailability()

bool yarp::manager::GenericResource::getAvailability ( )
inline

Definition at line 24 of file resource.h.

◆ getDescription()

const char* yarp::manager::GenericResource::getDescription ( )
inline

Definition at line 31 of file resource.h.

◆ getDisable()

bool yarp::manager::GenericResource::getDisable ( )
inline

Definition at line 26 of file resource.h.

◆ getName()

const char* yarp::manager::GenericResource::getName ( )
inline

Definition at line 29 of file resource.h.

◆ getTypeName()

const char* yarp::manager::GenericResource::getTypeName ( )
inline

Definition at line 32 of file resource.h.

◆ getXmlFile()

const char* yarp::manager::GenericResource::getXmlFile ( )
inline

Definition at line 37 of file resource.h.

◆ operator==()

bool yarp::manager::GenericResource::operator== ( const GenericResource res) const
inline

Definition at line 42 of file resource.h.

◆ owner()

Node* yarp::manager::GenericResource::owner ( )
inline

Definition at line 35 of file resource.h.

◆ satisfy()

◆ setAvailability()

void yarp::manager::GenericResource::setAvailability ( bool  flag)
inline

Definition at line 23 of file resource.h.

◆ setDescription()

void yarp::manager::GenericResource::setDescription ( const char *  szDesc)
inline

Definition at line 30 of file resource.h.

◆ setDisable()

void yarp::manager::GenericResource::setDisable ( bool  flag)
inline

Definition at line 25 of file resource.h.

◆ setName()

void yarp::manager::GenericResource::setName ( const char *  szName)
inline

Definition at line 28 of file resource.h.

◆ setOwner()

void yarp::manager::GenericResource::setOwner ( Node owner)
inline

Definition at line 34 of file resource.h.

◆ setXmlFile()

void yarp::manager::GenericResource::setXmlFile ( const char *  szFilename)
inline

Definition at line 36 of file resource.h.


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