11 #include "SkinTimer.h" 56 void TimerStart(
const std::string& timer)
const;
61 void TimerStop(
const std::string& timer)
const;
73 void LoadTimerInternal(
const TiXmlElement* node);
76 std::map<std::string, std::unique_ptr<CSkinTimer>> m_timers;
void TimerStop(const std::string &timer) const
Stops/Disables a given skin timer.
Definition: SkinTimerManager.cpp:167
bool TimerIsRunning(const std::string &timer) const
Checks if the timer with name timer is running.
Definition: SkinTimerManager.cpp:137
void Process()
Run the main manager processing loop.
Definition: SkinTimerManager.cpp:203
void Stop()
Stops the manager.
Definition: SkinTimerManager.cpp:177
void LoadTimers(const std::string &path)
Loads all the skin timers.
Definition: SkinTimerManager.cpp:24
CSkinTimerManager is the container and manager for Skin timers. Its role is that of checking if the t...
Definition: SkinTimerManager.h:24
float GetTimerElapsedSeconds(const std::string &timer) const
Get the elapsed seconds since the timer with name timer was started.
Definition: SkinTimerManager.cpp:147
~CSkinTimerManager()=default
Default skin timer manager destructor.
void TimerStart(const std::string &timer) const
Starts/Enables a given skin timer.
Definition: SkinTimerManager.cpp:157
CSkinTimerManager()=default
Skin timer manager constructor.