24 #ifndef _SIMULATIONTASKSUPERVISOR_H_
25 #define _SIMULATIONTASKSUPERVISOR_H_
39 class LpzRobotsViewer;
116 for (
int i=0; i<taskCount; i++)
static int * argc
Definition: simulationtasksupervisor.h:140
static void setSimTaskHandle(SimulationTaskHandle &_simTaskHandle)
Definition: simulationtasksupervisor.h:71
static char ** argv
Definition: simulationtasksupervisor.h:141
virtual void createSimTask()
Creates one SimulationTask with taskId=SimulationTaskHandle.simTaskList.size().
Definition: simulationtasksupervisor.h:101
virtual void setSimTaskNameSuffix(std::string name)
Sets a suffix to be appended to the window name to identify your simTask.
Definition: simulationtasksupervisor.cpp:113
static TaskedSimulationCreator * taskedSimCreator
Definition: simulationtasksupervisor.h:138
Definition: simulationtask.h:37
Definition: simulationtasksupervisor.h:41
static SimulationTaskHandle * simTaskHandle
Definition: simulationtasksupervisor.h:137
static std::string nameSuffix
Definition: simulationtasksupervisor.h:144
virtual void runSimTasks(int *argc, char **argv)
Runs all generated SimulationTasks.
Definition: simulationtasksupervisor.cpp:54
static osg::ArgumentParser * parser
Definition: simulationtasksupervisor.h:142
static SimulationTaskSupervisor * singletonInstance
Definition: simulationtasksupervisor.h:136
SimulationTaskSupervisor()
Definition: simulationtasksupervisor.h:132
static void setTaskedSimCreator(TaskedSimulationCreator &_taskedSimCreator)
Definition: simulationtasksupervisor.h:76
static LpzRobotsViewer * viewer
Definition: simulationtasksupervisor.h:143
struct which holds all structural data for the simulations.
Definition: simulationtaskhandle.h:37
virtual ~SimulationTaskSupervisor()
Definition: simulationtasksupervisor.h:134
static void destroyInstance()
Destroys the singleton instance of this class.
Definition: simulationtasksupervisor.h:62
virtual void createSimTasks(int taskCount)
Same as createSimTask, but create more than one task at once.
Definition: simulationtasksupervisor.h:114
static void setNumberThreadsPerCore(int numberThreadsPerCore)
Sets the number of threads created per core.
Definition: simulationtasksupervisor.cpp:107
static void setNumberThreads(int numberThreads)
Sets the number of total threads running at one time.
Definition: simulationtasksupervisor.cpp:101
static SimulationTaskSupervisor * getInstance()
Returns the singleton instance of this class.
Definition: simulationtasksupervisor.h:52
Defines a method to construct a TaskedSimulation.
Definition: taskedsimulationcreator.h:36
static std::vector< SimulationTask * > simTaskList
Definition: simulationtasksupervisor.h:139