RTI Connext Modern C++ API  Version 5.3.1
 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.
 

Static Public Attributes

static const size_t LENGTH = 16
 The number of elements of a Guid.
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &out, const Guid &guid)
 Prints a Guid to an output stream.
 

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.

Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  out,
const Guid guid 
)
related

Prints a Guid to an output stream.

Member Data Documentation

const size_t rti::core::Guid::LENGTH = 16
static

The number of elements of a Guid.


RTI Connext Modern C++ API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc