RTI Connext C API
Version 6.1.1
|
<<extension>> Sequence number type and defines. More...
Data Structures | |
struct | DDS_SequenceNumber_t |
Type for sequence number representation. More... | |
Typedefs | |
typedef struct DDS_SequenceNumber_t | DDS_SequenceNumber_t |
Type for sequence number representation. More... | |
Functions | |
void | DDS_SequenceNumber_subtract (struct DDS_SequenceNumber_t *answer, const struct DDS_SequenceNumber_t *sn1, const struct DDS_SequenceNumber_t *sn2) |
Stores the value (sn1 - sn2) in answer. More... | |
void | DDS_SequenceNumber_add (struct DDS_SequenceNumber_t *answer, const struct DDS_SequenceNumber_t *sn1, const struct DDS_SequenceNumber_t *sn2) |
Stores the value (sn1 + sn2) in answer. More... | |
void | DDS_SequenceNumber_plusplus (struct DDS_SequenceNumber_t *sn) |
Increases the value of the input sequence number by one. More... | |
void | DDS_SequenceNumber_minusminus (struct DDS_SequenceNumber_t *sn) |
Decreases the value of the input sequence number by one. More... | |
int | DDS_SequenceNumber_compare (const struct DDS_SequenceNumber_t *sn1, const struct DDS_SequenceNumber_t *sn2) |
Compares two sequence numbers. More... | |
Variables | |
const struct DDS_SequenceNumber_t | DDS_SEQUENCE_NUMBER_UNKNOWN |
Unknown sequence number. More... | |
const struct DDS_SequenceNumber_t | DDS_SEQUENCE_NUMBER_ZERO |
Zero value for the sequence number. More... | |
const struct DDS_SequenceNumber_t | DDS_SEQUENCE_NUMBER_MAX |
Highest, most positive value for the sequence number. More... | |
const struct DDS_SequenceNumber_t | DDS_AUTO_SEQUENCE_NUMBER |
The sequence number is internally determined by RTI Connext. More... | |
<<extension>> Sequence number type and defines.
typedef struct DDS_SequenceNumber_t DDS_SequenceNumber_t |
Type for sequence number representation.
Represents a 64-bit sequence number.
void DDS_SequenceNumber_subtract | ( | struct DDS_SequenceNumber_t * | answer, |
const struct DDS_SequenceNumber_t * | sn1, | ||
const struct DDS_SequenceNumber_t * | sn2 | ||
) |
void DDS_SequenceNumber_add | ( | struct DDS_SequenceNumber_t * | answer, |
const struct DDS_SequenceNumber_t * | sn1, | ||
const struct DDS_SequenceNumber_t * | sn2 | ||
) |
void DDS_SequenceNumber_plusplus | ( | struct DDS_SequenceNumber_t * | sn | ) |
Increases the value of the input sequence number by one.
sn | <<inout>> Sequence number. Cannot be NULL. |
void DDS_SequenceNumber_minusminus | ( | struct DDS_SequenceNumber_t * | sn | ) |
Decreases the value of the input sequence number by one.
sn | <<inout>> Sequence number. Cannot be NULL. |
int DDS_SequenceNumber_compare | ( | const struct DDS_SequenceNumber_t * | sn1, |
const struct DDS_SequenceNumber_t * | sn2 | ||
) |
Compares two sequence numbers.
sn1 | <<in>> Sequence number to compare. Cannot be NULL. |
sn2 | <<in>> Sequence number to compare. Cannot be NULL. |
const struct DDS_SequenceNumber_t DDS_SEQUENCE_NUMBER_UNKNOWN |
Unknown sequence number.
const struct DDS_SequenceNumber_t DDS_SEQUENCE_NUMBER_ZERO |
Zero value for the sequence number.
const struct DDS_SequenceNumber_t DDS_SEQUENCE_NUMBER_MAX |
Highest, most positive value for the sequence number.
const struct DDS_SequenceNumber_t DDS_AUTO_SEQUENCE_NUMBER |
The sequence number is internally determined by RTI Connext.