From: Oliver O. <fr...@us...> - 2007-07-24 04:57:54
|
Update of /cvsroot/simspark/simspark/spark/oxygen/simulationserver In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv12033 Modified Files: Tag: projectx simulationserver.h Log Message: backport from rcssserver3D Index: simulationserver.h =================================================================== RCS file: /cvsroot/simspark/simspark/spark/oxygen/simulationserver/simulationserver.h,v retrieving revision 1.2.2.1.2.1 retrieving revision 1.2.2.1.2.2 diff -C2 -d -r1.2.2.1.2.1 -r1.2.2.1.2.2 *** simulationserver.h 17 Jun 2007 07:53:55 -0000 1.2.2.1.2.1 --- simulationserver.h 24 Jul 2007 04:57:46 -0000 1.2.2.1.2.2 *************** *** 129,132 **** --- 129,139 ---- int GetCycle(); + bool isExit() const { return mExit; } + + float GetSumDeltaTime() const { return mSumDeltaTime; } + + /** set the simulation run in multi-threads or in a signal thread */ + void SetMultiThreads(bool isMThreas); + protected: virtual void OnLink(); *************** *** 180,183 **** --- 187,193 ---- /** a cached reference to the SceneServer */ CachedPath<SceneServer> mSceneServer; + + /** indicates the simulation run in multi-threads or single thread */ + bool mMultiThreads; }; |