24#ifndef _GEMA_SIMULATION_RUNNER_H_
25#define _GEMA_SIMULATION_RUNNER_H_
57 void prepareEnvironment();
58 void setupMonitorHook();
60 static int loadProcessMM(lua_State* L);
61 static void lineHook(lua_State* L, lua_Debug* ar);
64 static bool registerScriptInPythonSysPath(
const char *scriptPath);
Class responsible for executing a simulation.
Definition gmSimulationRunner.h:44
bool _monitorRuleTesting
Should we enable monitor rule testing?
Definition gmSimulationRunner.h:71
LuaEnv * _env
The environment where the simulation will be runned.
Definition gmSimulationRunner.h:74
QList< GmProcess * > _procList
List of process objects instanced during the script execution.
Definition gmSimulationRunner.h:73
GmPluginLoader * _pluginLoader
Plugin loader (needed since required processes are found while running the process script)
Definition gmSimulationRunner.h:69
GmCommServer * _server
The monitor server if this option was enabled.
Definition gmSimulationRunner.h:70
GmLogCategory _logger
Basic logger object for the library.
Definition gmSimulationRunner.h:72
const QList< LuaEnv * > & _workerEnvList
A list with worker thread environments.
Definition gmSimulationRunner.h:75
GmSimulationData * _simulationData
Object storing the complete Simulation information.
Definition gmSimulationRunner.h:68
Declaration of the GmSimulation class.
GmSimulationResult
Enumeration describing the result of a simulation.
Definition gmSimulation.h:48