RTI Connext Traditional C++ API  Version 5.2.3
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_Duration_t Struct Reference

Type for duration representation. More...

Static Public Member Functions

static DDS_Duration_t from_micros (DDS_UnsignedLongLong microseconds)
 Creates a new duration object from a duration expressed in microseconds.
 
static DDS_Duration_t from_millis (DDS_UnsignedLongLong milliseconds)
 Creates a new duration object from a duration expressed in milliseconds.
 
static DDS_Duration_t from_nanos (DDS_UnsignedLongLong nanoseconds)
 Creates a new duration object from a duration expressed in nanoseconds.
 
static DDS_Duration_t from_seconds (DDS_UnsignedLong seconds)
 Creates a new duration object from a duration expressed in seconds.
 

Public Attributes

DDS_Long sec
 seconds
 
DDS_UnsignedLong nanosec
 nanoseconds
 

Detailed Description

Type for duration representation.

Represents a time interval.

Examples:
HelloWorld_publisher.cxx, and HelloWorld_subscriber.cxx.

Member Data Documentation

DDS_Long DDS_Duration_t::sec

seconds

Examples:
HelloWorld_subscriber.cxx.
DDS_UnsignedLong DDS_Duration_t::nanosec

nanoseconds


RTI Connext Traditional C++ API Version 5.2.3 Copyright © Wed Apr 27 2016 Real-Time Innovations, Inc