|
Robot Simulator of the Robotics Group for Self-Organization of Control
0.8.0
|
Data structure holding all essential global information. More...
#include <globaldata.h>


Public Member Functions | |
| GlobalData () | |
| virtual | ~GlobalData () |
| virtual AgentList & | getAgents () |
| returns the list of all agents More... | |
| virtual void | addTmpObject (TmpObject *i, double duration) |
| adds a temporary display item with given life duration in sec More... | |
| virtual void | initializeTmpObjects (const OdeHandle &odeHandle, const OsgHandle &osgHandle) |
| called by Simulation to initialize tmp objects More... | |
| virtual void | updateTmpObjects (const OsgHandle &osgHandle) |
| called by Simulation to update tmp objects More... | |
| virtual void | removeExpiredObjects (double time=-1) |
| called by Simulation to removes all expired sounds and temporary objects. More... | |
| virtual bool | removeTmpObject (TmpObject *i) |
| removes a particular temporary display item even if it is not yet expired More... | |
Public Member Functions inherited from GlobalDataBase | |
| GlobalDataBase () | |
| virtual | ~GlobalDataBase () |
| void | createConfigurator () |
| Creates the Configurator and, if already exists, destroys the old one. More... | |
| void | removeConfigurator () |
| Destroys the Configurator if it was created. More... | |
| bool | isConfiguratorOpen () |
Public Attributes | |
| OdeConfig | odeConfig |
| ObstacleList | obstacles |
| OdeAgentList | agents |
| Primitive * | environment |
| SoundList | sounds |
| < this is used to be able to attach objects to the static environment More... | |
| PlotOptionList | plotoptions |
| plotoptions used for new agents More... | |
| std::list< Configurable * > | globalconfigurables |
| global configurables plotted by all agents More... | |
| double | time |
| long int | sim_step |
| time steps since start More... | |
Public Attributes inherited from GlobalDataBase | |
| ConfigurableList | configs |
| lpzrobots::ConfiguratorProxy * | configurator |
Data structure holding all essential global information.
|
inline |
|
inlinevirtual |
|
virtual |
adds a temporary display item with given life duration in sec
|
virtual |
returns the list of all agents
Implements GlobalDataBase.
called by Simulation to initialize tmp objects
|
virtual |
called by Simulation to removes all expired sounds and temporary objects.
Optionally a time can be specified otherwise the internal time is used.
|
virtual |
removes a particular temporary display item even if it is not yet expired
|
virtual |
called by Simulation to update tmp objects
| OdeAgentList agents |
| Primitive* environment |
| std::list<Configurable*> globalconfigurables |
global configurables plotted by all agents
| ObstacleList obstacles |
| OdeConfig odeConfig |
| PlotOptionList plotoptions |
plotoptions used for new agents
| long int sim_step |
time steps since start
| SoundList sounds |
< this is used to be able to attach objects to the static environment
sound space
| double time |