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

Signals | |
void | statusChanged (QString newStatus) |
emitted when the status is changed More... | |
Public Member Functions | |
Component () | |
Constructor. More... | |
virtual | ~Component () |
Destructor. More... | |
virtual void | configure (ConfigurationParameters ¶ms, QString prefix)=0 |
Configure function. More... | |
virtual void | save (ConfigurationParameters ¶ms, QString prefix)=0 |
Save function. More... | |
void | setStatus (QString newStatus) |
used by subclasses to change the status of the experiment More... | |
QString | status () |
return a text description of the current status of the component More... | |
virtual void | stopCurrentOperation ()=0 |
Reimplement in subclasses to stop the running operation. More... | |
![]() | |
void | addObserver (RuntimeParameterObserver *obs) |
T | getRuntimeParameter (QString paramName) |
virtual ParameterSettableUI * | getUIManager () |
virtual void | postConfigureInitialization () |
void | removeObserver (RuntimeParameterObserver *obs) |
void | setRuntimeParameter (QString paramName, T newvalue) |
QString | typeName () const |
Additional Inherited Members | |
![]() | |
enum | Property |
![]() | |
static void | describe (QString type) |
static QString | fullParameterDescriptionPath (QString type, QString param) |
static QString | fullSubgroupDescriptionPath (QString type, QString sub) |
![]() | |
AllowMultiple | |
Default | |
IsList | |
IsMandatory | |
![]() | |
static const double | Infinity |
static const int | MaxInteger |
static const int | MinInteger |
![]() | |
void | notifyChangesToParam (QString paramName) |
![]() | |
static Descriptor | addTypeDescription (QString type, QString shortHelp, QString longHelp=QString("")) |
static void | setGraphicalEditor (QString type) |
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 45 of file component.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
Definition at line 49 of file component.h.
|
inlinevirtual |
Destructor.
Definition at line 51 of file component.h.
Member Function Documentation
|
pure virtual |
Configure function.
Implements ParameterSettableWithConfigureFunction.
Implemented in BaseExperiment, and EvoRobotComponent.
|
pure virtual |
|
inline |
used by subclasses to change the status of the experiment
Definition at line 61 of file component.h.
Referenced by EvoRobotComponent::configure(), EvoRobotComponent::onThreadOperationDone(), BaseExperiment::postConfigureInitialization(), EvolveOperation::run(), and TestOperation::run().
|
inline |
return a text description of the current status of the component
Definition at line 53 of file component.h.
|
signal |
emitted when the status is changed
|
pure virtual |
Reimplement in subclasses to stop the running operation.
Implemented in EvoRobotComponent.
The documentation for this class was generated from the following file:
- experiments/include/component.h