RTI Connext .Net APIs
Version 5.1.0
|
Type for duration representation. More...
#include <managed_infrastructure.h>
Public Member Functions | |
System::Boolean | is_infinite () |
System::Boolean | is_zero () |
System::Boolean | is_auto () |
Static Public Member Functions | |
static Duration_t | from_micros (long microseconds) |
static Duration_t | from_nanos (long nanoseconds) |
static Duration_t | from_millis (System::UInt32 milliseconds) |
static Duration_t | from_seconds (System::UInt32 seconds) |
Public Attributes | |
System::Int32 | sec |
seconds | |
System::UInt32 | nanosec |
nanoseconds | |
Properties | |
static System::Int32 | DURATION_ZERO_SEC [get] |
A zero-length second period of time. | |
static System::Int32 | DURATION_ZERO_NSEC [get] |
A zero-length nano-second period of time. | |
static System::Int32 | DURATION_INFINITE_SEC [get] |
An infinite second period of time. | |
static System::Int32 | DURATION_INFINITE_NSEC [get] |
An infinite nano-second period of time. | |
static Duration_t | DURATION_INFINITE [get] |
An infinite period of time. | |
static Duration_t | DURATION_ZERO [get] |
A zero-length period of time. | |
static System::Int32 | DURATION_AUTO_SEC [get] |
An auto second period of time. | |
static System::Int32 | DURATION_AUTO_NSEC [get] |
An auto nano-second period of time. | |
static Duration_t | DURATION_AUTO [get] |
Duration is automatically assigned. | |
Type for duration representation.
Represents a time interval.
|
inlinestatic |
Creates a new time object from a time expressed in microseconds
|
inlinestatic |
Creates a new duration object from a duration expressed in nanoseconds
|
inlinestatic |
Creates a new duration object from a duration expressed in milliseconds
|
inlinestatic |
Creates a new duration object from a duration expressed in seconds
System::Int32 DDS::Duration_t::sec |
seconds
System::UInt32 DDS::Duration_t::nanosec |
nanoseconds