#include <omni_time.h>
Public Member Functions | |
omni_time () | |
omni_time (long secs, long nanosecs=0) | |
omni_time (double secs) | |
double | double_time () const |
Static Public Member Functions | |
static omni_time | time (const omni_time &relative_offset=omni_time()) |
Return an absolute time suitable for use with schedule_one_shot_timeout & schedule_periodic_timeout. | |
Public Attributes | |
long int | d_secs |
long int | d_nsecs |
omni_time::omni_time | ( | ) | [inline] |
omni_time::omni_time | ( | long | secs, | |
long | nanosecs = 0 | |||
) | [inline] |
omni_time::omni_time | ( | double | secs | ) |
Return an absolute time suitable for use with schedule_one_shot_timeout & schedule_periodic_timeout.
The return value is the current time plus the given relative offset.
long int omni_time::d_nsecs |
Referenced by double_time().
long int omni_time::d_secs |
Referenced by double_time().