RTI Connext Micro  Version 2.4.1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Sequence Number Support

Sequence number type and defines. More...

Data Structures

struct  DDS_SequenceNumber_t
 Type for sequence number representation.Represents a 64-bit sequence number. More...

Functions

int DDS_SequenceNumber_compare (const struct DDS_SequenceNumber_t *sn1, const struct DDS_SequenceNumber_t *sn2)
 Compares two sequence numbers.

Detailed Description

Sequence number type and defines.


Function Documentation

int DDS_SequenceNumber_compare ( const struct DDS_SequenceNumber_t sn1,
const struct DDS_SequenceNumber_t sn2 
)

Compares two sequence numbers.

Parameters:
sn1<<in>> Sequence number to compare. Cannot be NULL.
sn2<<in>> Sequence number to compare. Cannot be NULL.
Returns:
If the two sequence numbers are equal, the function returns 0. If sn1 is greater than sn2 the function returns a positive number; otherwise, it returns a negative number.

RTI Connext Micro Version 2.4.1.0 Copyright © Thu Nov 20 2014 Real-Time Innovations, Inc