RTI Connext C++ API  Version 5.1.0
DDS_Time_t Struct Reference

Type for time representation. More...

Static Public Member Functions

static const DDS_Time_t from_micros (DDS_UnsignedLong microseconds)
 
static const DDS_Time_t from_millis (DDS_UnsignedLong milliseconds)
 
static const DDS_Time_t from_nanos (DDS_UnsignedLong nanoseconds)
 
static const DDS_Time_t from_seconds (DDS_Long seconds)
 

Public Attributes

DDS_Long sec
 seconds
 
DDS_UnsignedLong nanosec
 nanoseconds
 

Detailed Description

Type for time representation.

A DDS_Time_t represents a moment in time.

Member Function Documentation

static const DDS_Time_t DDS_Time_t::from_micros ( DDS_UnsignedLong  microseconds)
static

Creates a DDS_Time_t object from a time in microseconds

static const DDS_Time_t DDS_Time_t::from_millis ( DDS_UnsignedLong  milliseconds)
static

Creates a DDS_Time_t object from a time in milliseconds

static const DDS_Time_t DDS_Time_t::from_nanos ( DDS_UnsignedLong  nanoseconds)
static

Creates a DDS_Time_t object from a time in nanoseconds

static const DDS_Time_t DDS_Time_t::from_seconds ( DDS_Long  seconds)
static

Creates a DDS_Time_t object from a time in seconds (and zero nanoseconds)

Member Data Documentation

DDS_Long DDS_Time_t::sec

seconds

DDS_UnsignedLong DDS_Time_t::nanosec

nanoseconds


RTI Connext C++ API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc