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