Tests the current individual, i.e. More...

Inheritance diagram for TestCurrent:

Public Member Functions

 TestCurrent ()
 Constructor. More...
 
virtual ~TestCurrent ()
 Destructor. More...
 
virtual void configure (ConfigurationParameters &params, QString prefix)
 Configures the object using a ConfigurationParameters object. More...
 
virtual void runTest ()
 Run the test on the individual selected. More...
 
virtual void save (ConfigurationParameters &params, QString prefix)
 Save the actual status of parameters into the ConfigurationParameters object passed. More...
 
- Public Member Functions inherited from AbstractTest
 AbstractTest ()
 Constructor. More...
 
virtual ~AbstractTest ()
 Destructor. More...
 
EvoRobotComponentcomponent ()
 Returns a pointer to the Component. More...
 
QString iconFilename ()
 the filename of the icon to show on the menu/toolbar More...
 
QString menuText ()
 the text to show on the menu/toolbar More...
 
virtual void postConfigureInitialization ()
 This function is called after all linked objects have been configured. More...
 
virtual void setComponent (EvoRobotComponent *component)
 Sets the Component. More...
 
QString tooltip ()
 the tooltip text to show on the menu/toolbar More...
 
- Public Member Functions inherited from ParameterSettable
void addObserver (RuntimeParameterObserver *obs)
 
getRuntimeParameter (QString paramName)
 
virtual ParameterSettableUIgetUIManager ()
 
void removeObserver (RuntimeParameterObserver *obs)
 
void setRuntimeParameter (QString paramName, T newvalue)
 
QString typeName () const
 

Static Public Member Functions

static void describe (QString type)
 Describe Function. More...
 
- Static Public Member Functions inherited from AbstractTest
static void describe (QString type)
 Describe Function. More...
 
- Static Public Member Functions inherited from ParameterSettable
static void describe (QString type)
 
static QString fullParameterDescriptionPath (QString type, QString param)
 
static QString fullSubgroupDescriptionPath (QString type, QString sub)
 

Additional Inherited Members

- Public Types inherited from ParameterSettable
enum  Property
 
- Public Slots inherited from AbstractTest
- Public Attributes inherited from ParameterSettable
 AllowMultiple
 
 Default
 
 IsList
 
 IsMandatory
 
- Static Public Attributes inherited from ParameterSettable
static const double Infinity
 
static const int MaxInteger
 
static const int MinInteger
 
- Protected Member Functions inherited from ParameterSettable
void notifyChangesToParam (QString paramName)
 
- Static Protected Member Functions inherited from ParameterSettable
static Descriptor addTypeDescription (QString type, QString shortHelp, QString longHelp=QString(""))
 
static void setGraphicalEditor (QString type)
 
- Protected Attributes inherited from AbstractTest
QString m_iconFilename
 change in in subclasses for setting the icon will appear on the menu/toolbar More...
 
QString m_menuText
 change in in subclasses for setting the text will appear on the menu/toolbar More...
 
QString m_tooltip
 change in in subclasses for setting the tooltip will appear on the menu/toolbar More...
 

Detailed Description

Tests the current individual, i.e.

doesn't load nor randomize the genome

Definition at line 140 of file tests.h.

Constructor & Destructor Documentation

Constructor.

Warning
This class must work correctly even if the configure function is not called, because it could be create without a ConfigurationParameters object when the user doesn't explicitly add this in the configuration file

Definition at line 181 of file tests.cpp.

References AbstractTest::m_iconFilename, AbstractTest::m_menuText, and AbstractTest::m_tooltip.

~TestCurrent ( )
virtual

Destructor.

Definition at line 189 of file tests.cpp.

Member Function Documentation

void configure ( ConfigurationParameters params,
QString  prefix 
)
virtual

Configures the object using a ConfigurationParameters object.

Parameters
paramsthe configuration parameters object with parameters to use
prefixthe prefix to use to access the object configuration parameters. This is guaranteed to end with the separator character when called by the factory, so you don't need to add one

Reimplemented from AbstractTest.

Definition at line 193 of file tests.cpp.

References AbstractTest::configure().

void describe ( QString  type)
static

Describe Function.

Definition at line 202 of file tests.cpp.

References ParameterSettable::addTypeDescription().

void save ( ConfigurationParameters params,
QString  prefix 
)
virtual

Save the actual status of parameters into the ConfigurationParameters object passed.

This is not implemented, a call to this function will cause an abort

Parameters
paramsthe configuration parameters object on which save actual parameters
prefixthe prefix to use to access the object configuration parameters.

Reimplemented from AbstractTest.

Definition at line 197 of file tests.cpp.

References AbstractTest::save(), and ConfigurationParameters::startObjectParameters().


The documentation for this class was generated from the following files: