RTI Connext Modern C++ API  Version 5.2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
rti::core::Guid Class Reference

<<extension>> <<value-type>> Class for GUID (Global Unique Identifier) representation More...

#include "rti/core/Guid.hpp"

Public Member Functions

 Guid ()
 Create a default Guid representing the unknown guid.
 
uint8_t & operator[] (uint32_t index)
 Get a reference to value of the Guid at position index.
 
const uint8_t & operator[] (uint32_t index) const
 Get const reference to the value of the Guid at position index.
 
bool operator< (const Guid &other) const
 Compare two Guids for a less-than relationship.
 
bool operator<= (const Guid &other) const
 Compare two Guids for a less-than-or-equal relationship.
 
bool operator> (const Guid &other) const
 Compare two Guids for a greater-than relationship.
 
bool operator>= (const Guid &other) const
 Compare two Guids for a greater-than-or-equal relationship.
 

Static Public Member Functions

static Guid unknown ()
 Unknown GUID.
 
static Guid automatic ()
 Construct a Guid indicating that RTI Connext should choose an appropriate virtual GUID.
 

Detailed Description

<<extension>> <<value-type>> Class for GUID (Global Unique Identifier) representation

Constructor & Destructor Documentation

rti::core::Guid::Guid ( )
inline

Create a default Guid representing the unknown guid.

Member Function Documentation

static Guid rti::core::Guid::unknown ( )
inlinestatic

Unknown GUID.

static Guid rti::core::Guid::automatic ( )
inlinestatic

Construct a Guid indicating that RTI Connext should choose an appropriate virtual GUID.

Indicates that RTI Connext should choose an appropriate virtual GUID.

If this special value is assigned to rti::core::policy::DataWriterProtocol::virtual_guid or rti::core::policy::DataReaderProtocol::virtual_guid, RTI Connext will assign the virtual GUID automatically based on the RTPS or physical GUID.

uint8_t& rti::core::Guid::operator[] ( uint32_t  index)

Get a reference to value of the Guid at position index.

const uint8_t& rti::core::Guid::operator[] ( uint32_t  index) const

Get const reference to the value of the Guid at position index.

bool rti::core::Guid::operator< ( const Guid other) const

Compare two Guids for a less-than relationship.

bool rti::core::Guid::operator<= ( const Guid other) const

Compare two Guids for a less-than-or-equal relationship.

bool rti::core::Guid::operator> ( const Guid other) const

Compare two Guids for a greater-than relationship.

bool rti::core::Guid::operator>= ( const Guid other) const

Compare two Guids for a greater-than-or-equal relationship.


RTI Connext Modern C++ API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc