#include <yarp/manager/module.h>
Public Member Functions | |
Module () | |
Module (const char *szName) | |
Module (const Module &mod) | |
~Module () override | |
Node * | clone () override |
Module & | operator= (const Module &rhs) |
void | setName (const char *szName) |
void | setRank (int rank) |
void | setVersion (const char *szVersion) |
void | setDescription (const char *szDesc) |
void | setHost (const char *szHost) |
void | setForced (bool flag) |
bool | setParam (const char *szParam) |
void | setXmlFile (const char *szFilename) |
void | setWorkDir (const char *szWDir) |
void | setStdio (const char *szStdio) |
void | setBroker (const char *szBroker) |
void | setPrefix (const char *szPrefix) |
void | setEnvironment (const char *szEnv) |
void | setBasePrefix (const char *szPrefix) |
void | setNeedDeployer (bool need) |
void | setDisplay (const char *szDisplay) |
int | getRank () |
const char * | getName () |
const char * | getVersion () |
const char * | getDescription () |
const char * | getHost () |
bool | getForced () |
bool | getNeedDeployer () |
const char * | getParam () |
const char * | getXmlFile () |
const char * | getWorkDir () |
const char * | getStdio () |
const char * | getBroker () |
const char * | getPrefix () |
const char * | getEnvironment () |
const char * | getBasePrefix () |
const char * | getDisplay () |
int | argumentCount () |
Argument & | getArgumentAt (int index) |
int | outputCount () |
OutputData & | getOutputAt (int index) |
int | inputCount () |
InputData & | getInputAt (int index) |
int | resourceCount () const |
GenericResource & | getResourceAt (int index) const |
void | addAuthor (Author &author) |
int | authorCount () |
Author & | getAuthorAt (int index) |
bool | removeAuthor (Author &author) |
bool | addArgument (Argument &arg) |
bool | removeArgument (Argument &argument) |
bool | addOutput (OutputData &output) |
bool | removeOutput (OutputData &output) |
bool | addInput (InputData &input) |
bool | removeInput (InputData &input) |
bool | addResource (GenericResource &res) |
bool | removeResource (GenericResource &res) |
void | setPostExecWait (double t) |
double | getPostExecWait () |
void | setPostStopWait (double t) |
double | getPostStopWait () |
void | clearInputs () |
void | clearOutputs () |
void | clearResources () |
void | setOwner (Node *owner) |
Node * | owner () |
void | clear () |
GraphicModel & | getModelBase () |
void | setModelBase (GraphicModel &mdl) |
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 | |
bool | removeSuc (Node *node) |
void | removeAllSuc () |
bool | hasSuc (Node *node) |
GraphicModel * | getModel () |
void | setModel (GraphicModel *mdl) |
Friends | |
class | ModuleInterface |
Module::Module | ( | ) |
Definition at line 15 of file module.cpp.
Module::Module | ( | const char * | szName | ) |
Definition at line 18 of file module.cpp.
Module::Module | ( | const Module & | mod | ) |
Definition at line 25 of file module.cpp.
|
overridedefault |
bool Module::addArgument | ( | Argument & | arg | ) |
Definition at line 82 of file module.cpp.
|
inline |
bool Module::addInput | ( | InputData & | input | ) |
Definition at line 121 of file module.cpp.
bool Module::addOutput | ( | OutputData & | output | ) |
Definition at line 100 of file module.cpp.
bool Module::addResource | ( | GenericResource & | res | ) |
Definition at line 142 of file module.cpp.
void Module::clear | ( | ) |
Definition at line 222 of file module.cpp.
|
overridevirtual |
Implements yarp::manager::Node.
Definition at line 75 of file module.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 31 of file module.cpp.
bool Module::removeArgument | ( | Argument & | argument | ) |
Definition at line 89 of file module.cpp.
bool Module::removeAuthor | ( | Author & | author | ) |
Definition at line 162 of file module.cpp.
bool Module::removeInput | ( | InputData & | input | ) |
Definition at line 129 of file module.cpp.
bool Module::removeOutput | ( | OutputData & | output | ) |
Definition at line 108 of file module.cpp.
bool Module::removeResource | ( | GenericResource & | res | ) |
Definition at line 151 of file module.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool Module::setParam | ( | const char * | szParam | ) |
Definition at line 254 of file module.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |