![]() |
OpenSplice ISO C++ 2 DCPS
v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
|
Class to hold the handle associated with in sample instance. More...
#include "InstanceHandle.hpp"
Public Member Functions | |
InstanceHandle () | |
InstanceHandle (const dds::core::null_type &nullHandle) | |
InstanceHandle (const InstanceHandle &other) | |
bool | is_nil () const |
bool | operator!= (const Value &other) const |
D * | operator-> () |
const D * | operator-> () const |
bool | operator< (const InstanceHandle &that) const |
InstanceHandle & | operator= (const InstanceHandle &that) |
bool | operator== (const InstanceHandle &that) const |
bool | operator== (const Value &other) const |
bool | operator> (const InstanceHandle &that) const |
Static Public Member Functions | |
static const InstanceHandle | nil () |
Class to hold the handle associated with in sample instance.
Definition at line 40 of file InstanceHandle.hpp.
dds::core::InstanceHandle::InstanceHandle | ( | ) |
Create an nil instance handle.
Definition at line 42 of file InstanceHandleImpl.hpp.
dds::core::InstanceHandle::InstanceHandle | ( | const dds::core::null_type & | nullHandle | ) |
Create an nil instance handle.
nullHandle | placeholder |
Definition at line 49 of file InstanceHandleImpl.hpp.
dds::core::InstanceHandle::InstanceHandle | ( | const InstanceHandle & | other | ) |
Copy an existing InstancHandle
other | InstanceHandle to copy |
Definition at line 52 of file InstanceHandleImpl.hpp.
bool dds::core::InstanceHandle::is_nil | ( | ) | const |
Check if the InstanceHandle is nil.
Definition at line 94 of file InstanceHandleImpl.hpp.
|
static |
Create an nil instance handle.
Definition at line 86 of file InstanceHandleImpl.hpp.
|
inherited |
|
inherited |
The operator->() is provided to be able to directly invoke functions on the delegate.
The decision to provide direct access to the delegate was motivated by the need for providing a way that was not invasive with respect to the CXXDDS API and yet would allow for vendor-specific extension. Thus vendor-specific extensions can be invoked on the Value and on all its subclasses as follows:
|
inherited |
The operator->() is provided to be able to directly invoke functions on the delegate.
The decision to provide direct access to the delegate was motivated by the need for providing a way that was not invasive with respect to the CXXDDS API and yet would allow for vendor-specific extension. Thus vendor-specific extensions can be invoked on the Value and on all its subclasses as follows:
bool dds::core::InstanceHandle::operator< | ( | const InstanceHandle & | that | ) | const |
Compare this InstanceHandle to another InstanceHandle
that | The InstanceHandle to compare |
Definition at line 74 of file InstanceHandleImpl.hpp.
InstanceHandle & dds::core::InstanceHandle::operator= | ( | const InstanceHandle & | that | ) |
Assign an existing InstancHandle to this InstancHandle
that | The InstanceHandle to assign to this |
Definition at line 58 of file InstanceHandleImpl.hpp.
bool dds::core::InstanceHandle::operator== | ( | const InstanceHandle & | that | ) | const |
Compare this InstanceHandle to another InstanceHandle
that | The InstanceHandle to compare |
Definition at line 68 of file InstanceHandleImpl.hpp.
|
inherited |
bool dds::core::InstanceHandle::operator> | ( | const InstanceHandle & | that | ) | const |
Compare this InstanceHandle to another InstanceHandle
that | The InstanceHandle to compare |
Definition at line 80 of file InstanceHandleImpl.hpp.