RTI Connext C API
Version 6.0.0
|
<<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. | |
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. | |
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. | |
void | DDS_SequenceNumber_plusplus (struct DDS_SequenceNumber_t *sn) |
Increases the value of the input sequence number by one. | |
void | DDS_SequenceNumber_minusminus (struct DDS_SequenceNumber_t *sn) |
Decreases the value of the input sequence number by one. | |
int | DDS_SequenceNumber_compare (const struct DDS_SequenceNumber_t *sn1, const struct DDS_SequenceNumber_t *sn2) |
Compares two sequence numbers. | |
Variables | |
struct DDS_SequenceNumber_t | DDS_SEQUENCE_NUMBER_UNKNOWN |
Unknown sequence number. | |
struct DDS_SequenceNumber_t | DDS_SEQUENCE_NUMBER_ZERO |
Zero value for the sequence number. | |
struct DDS_SequenceNumber_t | DDS_SEQUENCE_NUMBER_MAX |
Highest, most positive value for the sequence number. | |
struct DDS_SequenceNumber_t | DDS_AUTO_SEQUENCE_NUMBER |
The sequence number is internally determined by RTI Connext. | |
<<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. |
struct DDS_SequenceNumber_t DDS_SEQUENCE_NUMBER_UNKNOWN |
Unknown sequence number.
struct DDS_SequenceNumber_t DDS_SEQUENCE_NUMBER_ZERO |
Zero value for the sequence number.
struct DDS_SequenceNumber_t DDS_SEQUENCE_NUMBER_MAX |
Highest, most positive value for the sequence number.
struct DDS_SequenceNumber_t DDS_AUTO_SEQUENCE_NUMBER |
The sequence number is internally determined by RTI Connext.