EvoRobotViewer Class Reference

Public Member Functions | |
EvoRobotViewer (EvoRobotComponent *component) | |
Construct the GUI manager for EvoRobotComponent. | |
~EvoRobotViewer () | |
Destructor. | |
void | addAdditionalMenus (QMenuBar *menuBar) |
add the "Tests" menu to the menu bar of Total99 | |
void | fillActionsMenu (QMenu *actionsMenu) |
fill the menu "Actions" of Total99 with following actions:
| |
QList< ComponentUIViewer > | 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. |
Detailed Description
Definition at line 56 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 52 of file evorobotviewer.cpp.
References Evoga::getEvoRobotExperiment(), EvoRobotComponent::getGA(), EvoRobotExperiment::getNeuralNetwork(), ConcurrentResourcesUser::shareResourcesWith(), and ConcurrentResourcesUser::usableResources().
~EvoRobotViewer | ( | ) |
Destructor.
Definition at line 67 of file evorobotviewer.cpp.
Member Function Documentation
void addAdditionalMenus | ( | QMenuBar * | menuBar | ) | [virtual] |
add the "Tests" menu to the menu bar of Total99
- Parameters:
-
menuBar is the menu bar of the Total99 application
Reimplemented from ComponentUI.
Definition at line 99 of file evorobotviewer.cpp.
References AvailableTestList::getList(), AvailableTestList::getTest(), AbstractTest::iconFilename(), AbstractTest::menuText(), and AbstractTest::tooltip().
void fillActionsMenu | ( | QMenu * | actionsMenu | ) | [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
Implements ComponentUI.
Definition at line 73 of file evorobotviewer.cpp.
QList< ComponentUIViewer > getViewers | ( | QWidget * | parent, |
Qt::WindowFlags | flags | ||
) | [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 ComponentUI flags are the necessary flags to specify when constructing the viewers
Implements ComponentUI.
Definition at line 78 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