24 #ifndef _SIMULATIONTASK_H_
25 #define _SIMULATIONTASK_H_
51 sprintf(buffer,
"%i",
taskId);
55 returnValue =
sim->
run(*argc, argv)? 0 : 1;
void setSimTaskHandle(SimulationTaskHandle &simTaskHandle)
Sets the global SimulationTaskHandle.
Definition: taskedsimulation.h:108
TaskedSimulation * sim
Definition: simulationtask.h:64
void setTaskId(int taskId)
Sets the taskId of the associated SimulationTask.
Definition: taskedsimulation.h:89
Definition: taskedsimulation.h:34
virtual ~SimulationTask()
Definition: simulationtask.h:42
Definition: simulationtask.h:37
bool run(int argc, char **argv)
starts the Simulation.
Definition: simulation.cpp:419
SimulationTask(int taskId)
Definition: simulationtask.h:40
struct which holds all structural data for the simulations.
Definition: simulationtaskhandle.h:37
virtual int startTask(SimulationTaskHandle &simTaskHandle, TaskedSimulationCreator &simTaskCreator, int *argc, char **argv, std::string nameSuffix)
Definition: simulationtask.h:44
void setTaskNameSuffix(std::string nameSuffix)
Definition: taskedsimulation.h:99
Defines a method to construct a TaskedSimulation.
Definition: taskedsimulationcreator.h:36
int taskId
Definition: simulationtask.h:63
virtual TaskedSimulation * buildTaskedSimulationInstance()=0
Builds (constructs) an instance of TaskedSimulation.