#include <yarp/manager/primresource.h>
Public Member Functions | |
Computer () | |
Class Computer. More... | |
Computer (const char *szName) | |
Computer (const Computer &rhs) | |
virtual | ~Computer () |
Computer & | operator= (const Computer &rhs) |
Node * | clone () override |
bool | satisfy (GenericResource *resource) override |
void | setMemory (Memory &mem) |
void | setStorage (Storage &stg) |
void | setProcessor (Processor &proc) |
void | setNetwork (Network &net) |
void | setPlatform (Platform &os) |
Memory & | getMemory () |
Storage & | getStorage () |
Processor & | getProcessor () |
Network & | getNetwork () |
Platform & | getPlatform () |
int | peripheralCount () const |
GenericResource & | getPeripheralAt (int index) const |
bool | addPeripheral (GenericResource &res) |
void | clear () |
ProcessContainer & | getProcesses () |
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) |
Definition at line 155 of file primresource.h.
Computer::Computer | ( | ) |
Class Computer.
Definition at line 195 of file primresource.cpp.
Computer::Computer | ( | const char * | szName | ) |
Definition at line 200 of file primresource.cpp.
Computer::Computer | ( | const Computer & | rhs | ) |
Definition at line 207 of file primresource.cpp.
|
virtual |
Definition at line 323 of file primresource.cpp.
bool Computer::addPeripheral | ( | GenericResource & | res | ) |
Definition at line 221 of file primresource.cpp.
void Computer::clear | ( | ) |
Definition at line 311 of file primresource.cpp.
|
overridevirtual |
Implements yarp::manager::Node.
Definition at line 291 of file primresource.cpp.
|
inline |
Definition at line 171 of file primresource.h.
|
inline |
Definition at line 174 of file primresource.h.
|
inline |
Definition at line 178 of file primresource.h.
|
inline |
Definition at line 175 of file primresource.h.
|
inline |
Definition at line 183 of file primresource.h.
|
inline |
Definition at line 173 of file primresource.h.
|
inline |
Definition at line 172 of file primresource.h.
Definition at line 213 of file primresource.cpp.
|
inline |
Definition at line 177 of file primresource.h.
|
overridevirtual |
Implements yarp::manager::GenericResource.
Definition at line 229 of file primresource.cpp.
|
inline |
Definition at line 165 of file primresource.h.
|
inline |
Definition at line 168 of file primresource.h.
|
inline |
Definition at line 169 of file primresource.h.
|
inline |
Definition at line 167 of file primresource.h.
|
inline |
Definition at line 166 of file primresource.h.