RTI Connext .NET API (legacy)  Version 6.1.2

Type for time representation. More...

#include <managed_infrastructure.h>

Public Member Functions

System::Boolean is_zero ()
 Check if time is zero. More...
 
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. More...
 
static Time_t from_nanos (System::UInt64 nanoseconds)
 Creates a new time object from a time expressed in nanoseconds. More...
 
static Time_t from_millis (System::UInt64 milliseconds)
 Creates a new time object from a time expressed in milliseconds. More...
 
static Time_t from_seconds (System::UInt32 seconds)
 Creates a new time object from a time expressed in seconds. More...
 

Public Attributes

System::Int32 sec
 seconds More...
 
System::UInt32 nanosec
 nanoseconds More...
 

Properties

static System::Int32 TIME_INVALID_SEC [get]
 A sentinel indicating an invalid second of time. More...
 
static System::UInt32 TIME_INVALID_NSEC [get]
 A sentinel indicating an invalid nano-second of time. More...
 
static Time_t TIME_ZERO [get]
 The default instant in time: zero seconds and zero nanoseconds. More...
 
static Time_t TIME_MAX [get]
 The maximum value of time. More...
 
static Time_t TIME_INVALID [get]
 A sentinel indicating an invalid time. More...
 

Detailed Description

Type for time representation.

A DDS::Time_t represents a moment in time.

Member Data Documentation

◆ sec

System::Int32 DDS::Time_t::sec

seconds

Referenced by from_micros(), from_millis(), from_nanos(), and from_seconds().

◆ nanosec

System::UInt32 DDS::Time_t::nanosec

nanoseconds

[range] [0,1000000000)

Referenced by from_micros(), from_millis(), from_nanos(), and from_seconds().