RTI Connext C++ API  Version 5.1.0
GUID Support

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

Classes

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 Connext 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

struct DDS_GUID_t DDS_GUID_AUTO

Indicates that RTI Connext should choose an appropriate virtual GUID.

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

struct DDS_GUID_t DDS_GUID_UNKNOWN

Unknown GUID.


RTI Connext C++ API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc