Time Support
[Infrastructure Module]

Time and duration types and defines. More...

Classes

struct  DDS::Time_t
 Type for time representation. More...
struct  DDS::Duration_t
 Type for duration representation. More...

Functions

System::Boolean DDS::Time_t::is_zero ()
 Check if time is zero.
System::Boolean DDS::Time_t::is_invalid_time ()
System::Boolean DDS::Duration_t::is_infinite ()
System::Boolean DDS::Duration_t::is_zero ()

Properties

static System::Int32 DDS::Time_t::TIME_INVALID_SEC [get]
 A sentinel indicating an invalid second of time.
static System::Int32 DDS::Time_t::TIME_INVALID_NSEC [get]
 A sentinel indicating an invalid nano-second of time.
static Time_t DDS::Time_t::TIME_ZERO [get]
 The default instant in time: zero seconds and zero nanoseconds.
static Time_t DDS::Time_t::TIME_INVALID [get]
 A sentinel indicating an invalid time.
static System::Int32 DDS::Duration_t::DURATION_ZERO_SEC [get]
 A zero-length second period of time.
static System::Int32 DDS::Duration_t::DURATION_ZERO_NSEC [get]
 A zero-length nano-second period of time.
static System::Int32 DDS::Duration_t::DURATION_INFINITE_SEC [get]
 An infinite second period of time.
static System::Int32 DDS::Duration_t::DURATION_INFINITE_NSEC [get]
 An infinite nano-second period of time.
static Duration_t DDS::Duration_t::DURATION_INFINITE [get]
 An infinite period of time.
static Duration_t DDS::Duration_t::DURATION_ZERO [get]
 A zero-length period of time.

Detailed Description

Time and duration types and defines.


Function Documentation

System::Boolean DDS::Time_t::is_zero (  )  [inline, inherited]

Check if time is zero.

Returns:
true if the given time is equal to DDS::Time_t::TIME_ZERO or false otherwise.

System::Boolean DDS::Time_t::is_invalid_time (  )  [inline, inherited]

Returns:
true if the given time is not valid (i.e. is negative)

System::Boolean DDS::Duration_t::is_infinite (  )  [inline, inherited]

Returns:
true if the given duration is of infinite length.

System::Boolean DDS::Duration_t::is_zero (  )  [inline, inherited]

Returns:
true if the given duration is of zero length.


Properties

System:: Int32 DDS::Time_t::TIME_INVALID_SEC [static, get, inherited]

A sentinel indicating an invalid second of time.

System:: Int32 DDS::Time_t::TIME_INVALID_NSEC [static, get, inherited]

A sentinel indicating an invalid nano-second of time.

Time_t DDS::Time_t::TIME_ZERO [static, get, inherited]

The default instant in time: zero seconds and zero nanoseconds.

Time_t DDS::Time_t::TIME_INVALID [static, get, inherited]

A sentinel indicating an invalid time.

System:: Int32 DDS::Duration_t::DURATION_ZERO_SEC [static, get, inherited]

A zero-length second period of time.

System:: Int32 DDS::Duration_t::DURATION_ZERO_NSEC [static, get, inherited]

A zero-length nano-second period of time.

System:: Int32 DDS::Duration_t::DURATION_INFINITE_SEC [static, get, inherited]

An infinite second period of time.

System:: Int32 DDS::Duration_t::DURATION_INFINITE_NSEC [static, get, inherited]

An infinite nano-second period of time.

Duration_t DDS::Duration_t::DURATION_INFINITE [static, get, inherited]

An infinite period of time.

Duration_t DDS::Duration_t::DURATION_ZERO [static, get, inherited]

A zero-length period of time.


RTI Data Distribution Service .Net APIs Version 4.5c Copyright © 9 Jun 2010 Real-Time Innovations, Inc