Component Class Reference
The Component is the base (abstract) class for any specific project implementation. More...

Signals | |
void | statusChanged (QString newStatus) |
emitted when the status is changed | |
Public Member Functions | |
Component () | |
Constructor. | |
virtual | ~Component () |
Destructor. | |
virtual void | configure (ConfigurationParameters ¶ms, QString prefix)=0 |
Configure function. | |
virtual ComponentUI * | getUIManager ()=0 |
Return an instance of the ComponentUI class that handle the viewers for the GUI. | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix)=0 |
Save function. | |
void | setStatus (QString newStatus) |
used by subclasses to change the status of the experiment | |
QString | status () |
return a text description of the current status of the component |
Detailed Description
The Component is the base (abstract) class for any specific project implementation.
The Component is the object loaded by Total99 interface for setting up the project and the experiment
The subclasses of Component will represent the schema or the template for a specific kind of experiment. For example, GAComponent implement the basic logic for an evolutionary experiment, while the iCubSimulator implement not really an experiment but the simulation of an iCub robot on which you can play with YARP
Definition at line 48 of file component.h.
Constructor & Destructor Documentation
Component | ( | ) | [inline] |
Constructor.
Definition at line 52 of file component.h.
virtual ~Component | ( | ) | [inline, virtual] |
Destructor.
Definition at line 54 of file component.h.
Member Function Documentation
virtual void configure | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [pure virtual] |
Configure function.
Implements ParameterSettableWithConfigureFunction.
Implemented in iCubSimulator, and EvoRobotComponent.
virtual ComponentUI* getUIManager | ( | ) | [pure virtual] |
Return an instance of the ComponentUI class that handle the viewers for the GUI.
Implemented in iCubSimulator, and EvoRobotComponent.
virtual void save | ( | ConfigurationParameters & | params, |
QString | prefix | ||
) | [pure virtual] |
void setStatus | ( | QString | newStatus | ) | [inline] |
used by subclasses to change the status of the experiment
Definition at line 66 of file component.h.
Referenced by iCubSimulator::configure(), EvoRobotComponent::configure(), EvoRobotComponent::onThreadOperationDone(), TestOperation::run(), EvolveOperation::run(), iCubSimulator::start(), iCubSimulator::step(), and iCubSimulator::suspend().
QString status | ( | ) | [inline] |
return a text description of the current status of the component
Definition at line 56 of file component.h.
void statusChanged | ( | QString | newStatus | ) | [signal] |
emitted when the status is changed
The documentation for this class was generated from the following file:
- experiments/include/component.h