10 bool m_bThreadProcessing;
13 #ifndef STD_DO_NOT_ADD_BOOST
14 boost::thread m_SimThread;
16 boost::interprocess::interprocess_mutex m_WaitForInitEndMutex;
17 boost::interprocess::interprocess_condition m_WaitForInitEndCond;
19 boost::interprocess::interprocess_mutex m_WaitForSimEndMutex;
20 boost::interprocess::interprocess_condition m_WaitForSimEndCond;
23 virtual void ProcessSimulation();
29 virtual bool NeedToStopSim();
32 virtual void StartSimulation(std::string strSimFile,
bool bForceNoWindows =
false);
33 virtual void Simulate(
float fltTime = -1,
bool bBlocking =
true,
float fltWaitTime = -1);
34 virtual void PauseSimulation();
35 virtual void ResumeSimulation();
36 virtual void ResetSimulation();
37 virtual void StopSimulation();
38 virtual void ShutdownSimulation();
39 virtual void NeedToStopSimulation();
40 virtual void HandleNonCriticalError(std::string strError);
41 virtual void HandleCriticalError(std::string strError);
Simulates the entire environment.
Root namespace for the base simulation library for AnimatLab.
Callback methods for the simulation object.