RTI Connext .Net APIs  Version 5.1.0
DDS::Time_t Struct Reference

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 (long microseconds)
 
static Time_t from_nanos (long nanoseconds)
 
static Time_t from_millis (System::UInt32 milliseconds)
 
static Time_t from_seconds (System::UInt32 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::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

seconds

System::UInt32 DDS::Time_t::nanosec

nanoseconds


RTI Connext .Net APIs Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc