Type for time representation.
More...
#include <managed_infrastructure.h>
Public Attributes |
| System::Int32 | sec |
| | seconds
|
| |
| System::UInt32 | nanosec |
| | nanoseconds
|
| |
Properties |
| static System::Int32 | TIME_INVALID_SEC [get] |
| | A sentinel indicating an invalid second of time.
|
| |
| static System::Int32 | TIME_INVALID_NSEC [get] |
| | A sentinel indicating an invalid nano-second of time.
|
| |
| static Time_t | TIME_ZERO [get] |
| | The default instant in time: zero seconds and zero nanoseconds.
|
| |
| static Time_t | TIME_INVALID [get] |
| | A sentinel indicating an invalid time.
|
| |
Detailed Description
Type for time representation.
A DDS::Time_t represents a moment in time.
Member Function Documentation
| static Time_t DDS::Time_t::from_micros |
( |
long |
microseconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in microseconds
| static Time_t DDS::Time_t::from_nanos |
( |
long |
nanoseconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in nanoseconds
| static Time_t DDS::Time_t::from_millis |
( |
System::UInt32 |
milliseconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in milliseconds
| static Time_t DDS::Time_t::from_seconds |
( |
System::UInt32 |
seconds | ) |
|
|
inlinestatic |
Creates a new time object from a time expressed in seconds
Member Data Documentation
| System::Int32 DDS::Time_t::sec |
| System::UInt32 DDS::Time_t::nanosec |