RTI Connext C API  Version 6.0.1
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
GUID Support

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

Data Structures

struct  DDS_RTPS_EntityId_t
 From the DDS-RTPS specification: type used to hold the suffix part of the globally-unique RTPS-entity identifiers. More...
 
struct  DDS_RTPS_GUID_t
 From the DDS-RTPS specification: type used to hold a globally-unique RTPS-entity identifier. More...
 
struct  DDS_GUID_t
 Type for GUID (Global Unique Identifier) representation. More...
 

Typedefs

typedef DDS_Octet DDS_RTPS_GuidPrefix_t [DDS_RTPS_GUID_PREFIX_LENGTH]
 From the DDS-RTPS specification: type used to hold the prefix of the globally-unique RTPS-entity identifiers.
 
typedef struct DDS_RTPS_EntityId_t DDS_RTPS_EntityId_t
 From the DDS-RTPS specification: type used to hold the suffix part of the globally-unique RTPS-entity identifiers.
 
typedef struct DDS_RTPS_GUID_t DDS_RTPS_GUID_t
 From the DDS-RTPS specification: type used to hold a globally-unique RTPS-entity identifier.
 
typedef struct DDS_GUID_t DDS_GUID_t
 Type for GUID (Global Unique Identifier) representation.
 

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.

Typedef Documentation

typedef DDS_Octet DDS_RTPS_GuidPrefix_t[DDS_RTPS_GUID_PREFIX_LENGTH]

From the DDS-RTPS specification: type used to hold the prefix of the globally-unique RTPS-entity identifiers.

From DDS-RTPS Specification, clauses 8.4.2.1 and 9.3.1.

From the DDS-RTPS specification: type used to hold the suffix part of the globally-unique RTPS-entity identifiers.

From DDS-RTPS Specification, clauses 8.4.2.1 and 9.3.1.

From the DDS-RTPS specification: type used to hold a globally-unique RTPS-entity identifier.

From DDS-RTPS Specification, clauses 8.4.2.1 and 9.3.1.

typedef struct DDS_GUID_t DDS_GUID_t

Type for GUID (Global Unique Identifier) representation.

Represents a 128 bit GUID.

Alternative representation of DDS_RTPS_GUID_t. Memory and wire representation for this type is the same as the one for DDS_RTPS_GUID_t.

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 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc