Time and duration types and defines.
More...
Detailed Description
Time and duration types and defines.
Function Documentation
static Time_t DDS::Time_t::from_micros |
( |
System::UInt64 |
microseconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in microseconds.
In case of an overflow this function returns DDS::Time_t::TIME_MAX.
static Time_t DDS::Time_t::from_nanos |
( |
System::UInt64 |
nanoseconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in nanoseconds.
In case of an overflow this function returns DDS::Time_t::TIME_MAX.
static Time_t DDS::Time_t::from_millis |
( |
System::UInt64 |
milliseconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in milliseconds.
In case of an overflow this function returns DDS::Time_t::TIME_MAX.
static Time_t DDS::Time_t::from_seconds |
( |
System::UInt32 |
seconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in seconds.
In case of an overflow this function returns DDS::Time_t::TIME_MAX.
System::Boolean DDS::Time_t::is_zero |
( |
| ) |
|
|
inline |
System::Boolean DDS::Time_t::is_invalid_time |
( |
| ) |
|
|
inline |
- Returns
- true if the given time is not valid (i.e. is negative)
System::Boolean DDS::Duration_t::is_infinite |
( |
| ) |
|
|
inline |
- Returns
- true if the given duration is of infinite length.
System::Boolean DDS::Duration_t::is_zero |
( |
| ) |
|
|
inline |
- Returns
- true if the given duration is of zero length.
System::Boolean DDS::Duration_t::is_auto |
( |
| ) |
|
|
inline |
- Returns
- true if the given duration has auto value.
Properties
System:: Int32 DDS::Time_t::TIME_INVALID_SEC |
|
staticget |
A sentinel indicating an invalid second of time.
System:: UInt32 DDS::Time_t::TIME_INVALID_NSEC |
|
staticget |
A sentinel indicating an invalid nano-second of time.
The default instant in time: zero seconds and zero nanoseconds.
The maximum value of time.
Time_t DDS::Time_t::TIME_INVALID |
|
staticget |
A sentinel indicating an invalid time.
System:: Int32 DDS::Duration_t::DURATION_ZERO_SEC |
|
staticget |
A zero-length second period of time.
System:: UInt32 DDS::Duration_t::DURATION_ZERO_NSEC |
|
staticget |
A zero-length nano-second period of time.
System:: Int32 DDS::Duration_t::DURATION_INFINITE_SEC |
|
staticget |
An infinite second period of time.
System:: UInt32 DDS::Duration_t::DURATION_INFINITE_NSEC |
|
staticget |
An infinite nano-second period of time.
An infinite period of time.
A zero-length period of time.
System:: Int32 DDS::Duration_t::DURATION_AUTO_SEC |
|
staticget |
An auto second period of time.
System:: UInt32 DDS::Duration_t::DURATION_AUTO_NSEC |
|
staticget |
An auto nano-second period of time.
Duration is automatically assigned.