Class MultiResource. More...
#include <yarp/manager/resource.h>
Public Member Functions | |
MultiResource () | |
Class MultiResource. More... | |
MultiResource (const char *szName) | |
MultiResource (const MultiResource &rhs) | |
MultiResource & | operator= (const MultiResource &rhs) |
~MultiResource () override | |
Node * | clone () override |
bool | satisfy (GenericResource *resource) override |
int | resourceCount () const |
GenericResource & | getResourceAt (int index) const |
bool | addResource (GenericResource &res) |
void | clear () |
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) |
Node * | owner () |
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 () |
Link & | getLinkAt (int index) |
bool | addSuc (Node *node, float weight, bool _virtual=false) |
class Node More... | |
bool | removeSuc (Node *node) |
void | removeAllSuc () |
bool | hasSuc (Node *node) |
GraphicModel * | getModel () |
void | setModel (GraphicModel *mdl) |
Class MultiResource.
Definition at line 70 of file resource.h.
MultiResource::MultiResource | ( | ) |
Class MultiResource.
Definition at line 35 of file resource.cpp.
MultiResource::MultiResource | ( | const char * | szName | ) |
Definition at line 40 of file resource.cpp.
MultiResource::MultiResource | ( | const MultiResource & | rhs | ) |
Definition at line 46 of file resource.cpp.
|
override |
Definition at line 101 of file resource.cpp.
bool MultiResource::addResource | ( | GenericResource & | res | ) |
Definition at line 60 of file resource.cpp.
void MultiResource::clear | ( | ) |
Definition at line 90 of file resource.cpp.
|
overridevirtual |
Implements yarp::manager::Node.
Definition at line 76 of file resource.cpp.
|
inline |
Definition at line 82 of file resource.h.
MultiResource & MultiResource::operator= | ( | const MultiResource & | rhs | ) |
Definition at line 52 of file resource.cpp.
|
inline |
Definition at line 81 of file resource.h.
|
overridevirtual |
Implements yarp::manager::GenericResource.
Definition at line 67 of file resource.cpp.