Class for time management.
More...
#include <Clock.hpp>
Class for time management.
Definition at line 23 of file Clock.hpp.
◆ Clock()
◆ ~Clock()
◆ getElapsedTime()
Get the elapsed time since the last restart.
- Returns
- Time The elapsed time
Definition at line 22 of file clock.cpp.
◆ pause()
void myLib::Clock::pause |
( |
| ) |
|
◆ restart()
void myLib::Clock::restart |
( |
| ) |
|
|
inline |
◆ resume()
void myLib::Clock::resume |
( |
| ) |
|
Resume the clock.
Definition at line 12 of file clock.cpp.
◆ m_pause
◆ m_paused
bool myLib::Clock::m_paused {false} |
|
private |
◆ m_start
The documentation for this class was generated from the following files:
- /home/runner/work/VEngine/VEngine/lib/local/static/myLib/include/myLib/Clock/Clock.hpp
- /home/runner/work/VEngine/VEngine/lib/local/static/myLib/src/clock.cpp