EvoRobotViewer Class Reference
Inheritance diagram for EvoRobotViewer:

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< ParameterSettableUIViewergetViewers (QWidget *parent, Qt::WindowFlags flags)
 Return the list of all viewers for the Component with corresponding informations for fill the menu "Views" of Total99.
 
- Public Member Functions inherited from ConcurrentResourcesUser
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

- Public Types inherited from ConcurrentResourcesUser
typedef
Resource::ResourceChangeType 
ResourceChangeType
 
- Protected Member Functions inherited from ConcurrentResourcesUser
T * getResource ()
 
ResourcesUseroperator= (const ResourcesUser &other)
 
virtual void resourceChanged (QString name, ResourceChangeType changeType)
 
 ResourcesUser ()
 
 ResourcesUser (const ResourcesUser &other)
 
- Protected Attributes inherited from ConcurrentResourcesUser
ResourceCollectionHolder m_resources
 

Detailed Description

Definition at line 55 of file evorobotviewer.h.

Constructor & Destructor Documentation

Destructor.

Definition at line 78 of file evorobotviewer.cpp.

Member Function Documentation

void addAdditionalMenus ( QMenuBar *  menuBar)
virtual

add the "Tests" menu to the menu bar of Total99

Parameters
menuBaris the menu bar of the Total99 application

Reimplemented from ParameterSettableUI.

Definition at line 107 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
    actionsMenuis the actionsMenu display in the menu bar of Total99

Reimplemented from ParameterSettableUI.

Definition at line 84 of file evorobotviewer.cpp.

QList< ParameterSettableUIViewer > 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
parentis the parent widget for all viewers created by ParameterSettableUI
flagsare the necessary flags to specify when constructing the viewers

Reimplemented from ParameterSettableUI.

Definition at line 89 of file evorobotviewer.cpp.

References AvailableTestList::getList(), and AvailableTestList::getTest().


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