#include <yarp/manager/primresource.h>
Public Member Functions | |
Processor () | |
Class Processor. More... | |
Processor (const char *szName) | |
virtual | ~Processor () |
Node * | clone () override |
bool | satisfy (GenericResource *resource) override |
void | setArchitecture (const char *arch) |
void | setModel (const char *model) |
void | setCores (size_t n) |
void | setSiblings (size_t n) |
void | setFrequency (double f) |
void | setCPULoad (const LoadAvg &avg) |
const char * | getArchitecture () |
const char * | getModel () |
size_t | getCores () |
size_t | getSiblings () |
double | getFrequency () |
const LoadAvg & | getCPULoad () |
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 111 of file primresource.h.
Processor::Processor | ( | ) |
Class Processor.
Definition at line 138 of file primresource.cpp.
Processor::Processor | ( | const char * | szName | ) |
Definition at line 150 of file primresource.cpp.
|
virtualdefault |
|
overridevirtual |
Implements yarp::manager::Node.
Definition at line 180 of file primresource.cpp.
|
inline |
Definition at line 125 of file primresource.h.
|
inline |
Definition at line 127 of file primresource.h.
|
inline |
Definition at line 130 of file primresource.h.
|
inline |
Definition at line 129 of file primresource.h.
|
inline |
Definition at line 126 of file primresource.h.
|
inline |
Definition at line 128 of file primresource.h.
|
overridevirtual |
Implements yarp::manager::GenericResource.
Definition at line 162 of file primresource.cpp.
|
inline |
Definition at line 119 of file primresource.h.
|
inline |
Definition at line 121 of file primresource.h.
|
inline |
Definition at line 124 of file primresource.h.
|
inline |
Definition at line 123 of file primresource.h.
|
inline |
Definition at line 120 of file primresource.h.
|
inline |
Definition at line 122 of file primresource.h.