Class TimeManager
Defined in File TimeManager.h
Class Documentation
-
class TimeManager : public GenParam::ParameterObject
Class to manage the current simulation time and the time step size. This class is a singleton.
Public Functions
-
TimeManager()
-
TimeManager(const TimeManager&) = delete
-
TimeManager &operator=(const TimeManager&) = delete
-
~TimeManager()
-
virtual void initParameters()
-
void saveState(BinaryFileWriter &binWriter)
-
void loadState(BinaryFileReader &binReader)
Public Static Functions
-
static TimeManager *getCurrent()
-
static void setCurrent(TimeManager *tm)
-
static bool hasCurrent()
Public Static Attributes
-
static int TIME_STEP_SIZE = -1
-
TimeManager()