RTI Connext .Net APIs
Version 5.2.0
|
Type for time representation. More...
#include <managed_infrastructure.h>
Public Member Functions | |
System::Boolean | is_zero () |
Check if time is zero. | |
System::Boolean | is_invalid_time () |
Static Public Member Functions | |
static Time_t | from_micros (System::UInt64 microseconds) |
Creates a new time object from a time expressed in microseconds. | |
static Time_t | from_nanos (System::UInt64 nanoseconds) |
Creates a new time object from a time expressed in nanoseconds. | |
static Time_t | from_millis (System::UInt64 milliseconds) |
Creates a new time object from a time expressed in milliseconds. | |
static Time_t | from_seconds (System::UInt32 seconds) |
Creates a new time object from a time expressed in seconds. | |
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::UInt32 | 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_MAX [get] |
The maximum value of time. | |
static Time_t | TIME_INVALID [get] |
A sentinel indicating an invalid time. | |
Type for time representation.
A DDS::Time_t represents a moment in time.
System::Int32 DDS::Time_t::sec |
seconds
System::UInt32 DDS::Time_t::nanosec |
nanoseconds