| 
    RTI Connext DDS Micro
    Version 2.4.6
    
   | 
 
Time and duration types and defines. More...
Data Structures | |
| struct | DDS_Time_t | 
| Type for time representation.  More... | |
| struct | DDS_Duration_t | 
| Type for duration representation.  More... | |
Macros | |
| #define | DDS_TIME_ZERO | 
| The default instant in time: zero seconds and zero nanoseconds.  More... | |
Functions | |
| DDS_Boolean | DDS_Time_greater_than (const struct DDS_Time_t *l, const struct DDS_Time_t *r) | 
| DDS_Boolean | DDS_Time_is_zero (const struct DDS_Time_t *time) | 
| Check if time is zero.  More... | |
| DDS_Boolean | DDS_Duration_is_infinite (const struct DDS_Duration_t *duration) | 
| int | DDS_Duration_compare (const struct DDS_Duration_t *left, const struct DDS_Duration_t *right) | 
| void | DDS_Duration_to_ntp_time (const struct DDS_Duration_t *self, struct OSAPI_NtpTime *dst) | 
| Converts a DDS_Duration_t instance into an equivalent OSAPI_NtpTime value.  More... | |
| void | DDS_Duration_from_ntp_time (struct DDS_Duration_t *self, const struct OSAPI_NtpTime *src) | 
| Fills a DDS_Duration_t instance with the value contained in an OSAPI_NtpTime object.  More... | |
| DDS_Boolean | DDS_Duration_equal (const struct DDS_Duration_t *self, const struct DDS_Duration_t *other) | 
| DDS_Boolean | DDS_Duration_is_zero (const struct DDS_Duration_t *duration) | 
Variables | |
| const DDS_Long | DDS_TIME_INVALID_SEC | 
| A sentinel indicating an invalid second of time.  More... | |
| const DDS_UnsignedLong | DDS_TIME_INVALID_NSEC | 
| A sentinel indicating an invalid nano-second of time.  More... | |
| struct DDS_Time_t | DDS_TIME_INVALID | 
| A sentinel indicating an invalid time.  More... | |
| const DDS_Long | DDS_DURATION_INFINITE_SEC | 
| An infinite second period of time.  More... | |
| const DDS_UnsignedLong | DDS_DURATION_INFINITE_NSEC | 
| An infinite nano-second period of time.  More... | |
| struct DDS_Duration_t | DDS_DURATION_INFINITE | 
| An infinite period of time.  More... | |
| const DDS_Long | DDS_DURATION_ZERO_SEC | 
| A zero-length second period of time.  More... | |
| const DDS_UnsignedLong | DDS_DURATION_ZERO_NSEC | 
| A zero-length nano-second period of time.  More... | |
| struct DDS_Duration_t | DDS_DURATION_ZERO | 
| A zero-length period of time.  More... | |
Time and duration types and defines.
| #define DDS_TIME_ZERO | 
The default instant in time: zero seconds and zero nanoseconds.
| DDS_Boolean DDS_Time_greater_than | ( | const struct DDS_Time_t * | l, | 
| const struct DDS_Time_t * | r | ||
| ) | 
| DDS_Boolean DDS_Time_is_zero | ( | const struct DDS_Time_t * | time | ) | 
Check if time is zero.
| DDS_Boolean DDS_Duration_is_infinite | ( | const struct DDS_Duration_t * | duration | ) | 
| int DDS_Duration_compare | ( | const struct DDS_Duration_t * | left, | 
| const struct DDS_Duration_t * | right | ||
| ) | 
| void DDS_Duration_to_ntp_time | ( | const struct DDS_Duration_t * | self, | 
| struct OSAPI_NtpTime * | dst | ||
| ) | 
Converts a DDS_Duration_t instance into an equivalent OSAPI_NtpTime value.
| self | <<in>> This Duration_t. Cannot be NULL. | 
| dst | <<out>> The OSAPI_NtpTime object where the converted value will be stored. | 
| void DDS_Duration_from_ntp_time | ( | struct DDS_Duration_t * | self, | 
| const struct OSAPI_NtpTime * | src | ||
| ) | 
Fills a DDS_Duration_t instance with the value contained in an OSAPI_NtpTime object.
| self | <<in>> This Duration_t. Cannot be NULL. | 
| src | <<in>> The OSAPI_NtpTime object where the value will be read from. | 
| DDS_Boolean DDS_Duration_equal | ( | const struct DDS_Duration_t * | self, | 
| const struct DDS_Duration_t * | other | ||
| ) | 
| DDS_Boolean DDS_Duration_is_zero | ( | const struct DDS_Duration_t * | duration | ) | 
| const DDS_Long DDS_TIME_INVALID_SEC | 
A sentinel indicating an invalid second of time.
| const DDS_UnsignedLong DDS_TIME_INVALID_NSEC | 
A sentinel indicating an invalid nano-second of time.
| struct DDS_Time_t DDS_TIME_INVALID | 
A sentinel indicating an invalid time.
| const DDS_Long DDS_DURATION_INFINITE_SEC | 
An infinite second period of time.
| const DDS_UnsignedLong DDS_DURATION_INFINITE_NSEC | 
An infinite nano-second period of time.
| struct DDS_Duration_t DDS_DURATION_INFINITE | 
An infinite period of time.
| const DDS_Long DDS_DURATION_ZERO_SEC | 
A zero-length second period of time.
| const DDS_UnsignedLong DDS_DURATION_ZERO_NSEC | 
A zero-length nano-second period of time.
| struct DDS_Duration_t DDS_DURATION_ZERO | 
A zero-length period of time.