
Public Member Functions | |
EvoRobotViewer (EvoRobotComponent *component) | |
Construct the GUI manager for EvoRobotComponent. More... | |
~EvoRobotViewer () | |
Destructor. More... | |
void | addAdditionalMenus (QMenuBar *menuBar) |
add the "Tests" menu to the menu bar of Total99 More... | |
void | fillActionsMenu (QMenu *actionsMenu) |
fill the menu "Actions" of Total99 with following actions: More... | |
QList< ParameterSettableUIViewer > | getViewers (QWidget *parent, Qt::WindowFlags flags) |
Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99. More... | |
![]() | |
void | addUsableResource (QString resource) |
void | addUsableResources (QStringList resources) |
void | declareResource (QString name, T *resource, QString lockBuddy="") |
void | deleteResource (QString name) |
T * | getResource (QString name, bool *resourceExists=NULL) |
bool | hasResource (QString name) const |
void | removeAllUsableResources () |
void | removeUsableResource (QString resource) |
void | removeUsableResources (QStringList resources) |
virtual void | shareResourcesWith (ResourcesUser *buddy) |
void | usableResources (QStringList resources) |
bool | usedResourcesExist (QStringList *nonExistingResources=NULL) const |
Additional Inherited Members | |
![]() | |
typedef Resource::ResourceChangeType | ResourceChangeType |
![]() | |
enum | ResourceChangeType |
![]() | |
T * | getResource () |
virtual void | resourceChanged (QString name, ResourceChangeType changeType) |
![]() | |
ResourcesUser (const ResourcesUser &other) | |
virtual void | notifyResourceChange (ResourceHandler *resource, ResourceChangeType changeType)=0 |
ResourcesUser & | operator= (const ResourcesUser &other) |
![]() | |
ResourceCollectionHolder | m_resources |
Detailed Description
Definition at line 55 of file evorobotviewer.h.
Constructor & Destructor Documentation
EvoRobotViewer | ( | EvoRobotComponent * | component | ) |
Construct the GUI manager for EvoRobotComponent.
- Warning
- This only works with EvoRobotComponent
Definition at line 55 of file evorobotviewer.cpp.
References Evoga::getEvoRobotExperiment(), ConcurrentResourcesUser::shareResourcesWith(), and ConcurrentResourcesUser::usableResources().
~EvoRobotViewer | ( | ) |
Destructor.
Definition at line 89 of file evorobotviewer.cpp.
Member Function Documentation
|
virtual |
add the "Tests" menu to the menu bar of Total99
- Parameters
-
menuBar is the menu bar of the Total99 application
Reimplemented from ParameterSettableUI.
Definition at line 118 of file evorobotviewer.cpp.
References AvailableTestList::getList(), AvailableTestList::getTest(), AbstractTest::iconFilename(), AbstractTest::menuText(), and AbstractTest::tooltip().
|
virtual |
fill the menu "Actions" of Total99 with following actions:
- Evolve: start the evolutionary process
- Stop: suspend the evolutionary process
- Parameters
-
actionsMenu is the actionsMenu display in the menu bar of Total99
Reimplemented from ParameterSettableUI.
Definition at line 95 of file evorobotviewer.cpp.
|
virtual |
Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99.
- Parameters
-
parent is the parent widget for all viewers created by ParameterSettableUI flags are the necessary flags to specify when constructing the viewers
Reimplemented from ParameterSettableUI.
Definition at line 100 of file evorobotviewer.cpp.
References AvailableTestList::getList(), and AvailableTestList::getTest().
The documentation for this class was generated from the following files:
- experiments/evorobot/include/evorobotviewer.h
- experiments/evorobot/src/evorobotviewer.cpp