Class used for time management.
More...
#include <Time.hpp>
|
| Time (const double seconds) |
| Construct a new Time object.
|
|
int | asSeconds () const |
| Transform the time to seconds.
|
|
int | asMilliseconds () const |
| Transform the time to milliseconds.
|
|
int | asMicroseconds () const |
| Transform the time to microseconds.
|
|
Class used for time management.
Definition at line 15 of file Time.hpp.
◆ Time()
myLib::Time::Time |
( |
const double | seconds | ) |
|
|
inlineexplicit |
◆ asMicroseconds()
int myLib::Time::asMicroseconds |
( |
| ) |
const |
|
inlinenodiscard |
Transform the time to microseconds.
- Returns
- int The time in microseconds
Definition at line 40 of file Time.hpp.
References m_seconds.
◆ asMilliseconds()
int myLib::Time::asMilliseconds |
( |
| ) |
const |
|
inlinenodiscard |
Transform the time to milliseconds.
- Returns
- int The time in milliseconds
Definition at line 34 of file Time.hpp.
References m_seconds.
◆ asSeconds()
int myLib::Time::asSeconds |
( |
| ) |
const |
|
inlinenodiscard |
Transform the time to seconds.
- Returns
- int The time in seconds
Definition at line 28 of file Time.hpp.
References m_seconds.
◆ m_seconds
double myLib::Time::m_seconds {0.0F} |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/VEngine/VEngine/lib/local/static/myLib/include/myLib/Clock/Time.hpp