GUID Support
[Infrastructure Module]

<<eXtension>> GUID type and defines. More...

Data Structures

struct  DDS_GUID_t
 Type for GUID (Global Unique Identifier) representation. More...

Functions

DDS_Boolean DDS_GUID_equals (const struct DDS_GUID_t *self, const struct DDS_GUID_t *other)
 Compares this GUID with another GUID for equality.
int DDS_GUID_compare (const struct DDS_GUID_t *self, const struct DDS_GUID_t *other)
 Compares two GUIDs.
void DDS_GUID_copy (struct DDS_GUID_t *self, const struct DDS_GUID_t *other)
 Copies another GUID into this GUID.

Variables

struct DDS_GUID_t DDS_GUID_AUTO
 Indicates that RTI Data Distribution Service should choose an appropriate virtual GUID.
struct DDS_GUID_t DDS_GUID_UNKNOWN
 Unknown GUID.

Detailed Description

<<eXtension>> GUID type and defines.


Function Documentation

DDS_Boolean DDS_GUID_equals ( const struct DDS_GUID_t self,
const struct DDS_GUID_t other 
)

Compares this GUID with another GUID for equality.

Parameters:
self <<in>> This GUID. Cannot be NULL.
other <<in>> The other GUID to be compared with this GUID. Cannot be NULL.
Returns:
DDS_BOOLEAN_TRUE if the two GUIDs have equal values, or DDS_BOOLEAN_FALSE otherwise.

int DDS_GUID_compare ( const struct DDS_GUID_t self,
const struct DDS_GUID_t other 
)

Compares two GUIDs.

Parameters:
self <<in>> GUID to compare. Cannot be NULL.
other <<in>> GUID to compare. Cannot be NULL.
Returns:
If the two GUIDs are equal, the function returns 0. If self is greater than other the function returns a positive number; otherwise, it returns a negative number.

void DDS_GUID_copy ( struct DDS_GUID_t self,
const struct DDS_GUID_t other 
)

Copies another GUID into this GUID.

Parameters:
self <<in>> This GUID. Cannot be NULL.
other <<in>> The other GUID to be copied.


Variable Documentation

Indicates that RTI Data Distribution Service should choose an appropriate virtual GUID.

If this special value is assigned to DDS_DataWriterProtocolQosPolicy::virtual_guid or DDS_DataReaderProtocolQosPolicy::virtual_guid, RTI Data Distribution Service will assign the virtual GUID automatically based on the RTPS or physical GUID.

Unknown GUID.


RTI Data Distribution Service C API Version 4.5e Copyright © 23 Oct 2011 Real-Time Innovations, Inc