A Time class, can be used to hold wall- or sim-time. More...
#include <Types.hh>
Public Member Functions | |
| Time () | |
| Constructor. More... | |
| Time (int32_t _sec, int32_t _nsec) | |
| Constructor. More... | |
| bool | operator== (const Time &_time) const |
| Equal to operator. More... | |
Public Attributes | |
| int32_t | nsec |
| Nanoseconds. More... | |
| int32_t | sec |
| Seconds. More... | |
A Time class, can be used to hold wall- or sim-time.
stored as sec and nano-sec.
|
inline |
Constructor.
|
inline |
Constructor.
| [in] | _sec | Seconds |
| [in] | _nsec | Nanoseconds |
|
inline |
| int32_t sdf::Time::nsec |
Nanoseconds.
Referenced by operator==().
| int32_t sdf::Time::sec |
Seconds.
Referenced by operator==().