|
Cyclone ISO C++ API Reference Guide
|
QoS Container. More...
#include "EntityQos.hpp"
Inherits dds::core::Value< D >.
Public Member Functions | |
| EntityQos () | |
| EntityQos (const EntityQos &other) | |
| template<typename T > | |
| EntityQos (const EntityQos< T > &qos) | |
| bool | operator!= (const Value &other) const |
| D * | operator-> () |
| const D * | operator-> () const |
| template<typename POLICY > | |
| EntityQos & | operator<< (const POLICY &p) |
| template<typename T > | |
| EntityQos & | operator= (const EntityQos< T > &other) |
| bool | operator== (const Value &other) const |
| template<typename POLICY > | |
| const EntityQos & | operator>> (POLICY &p) const |
| template<typename POLICY > | |
| POLICY & | policy () |
| template<typename POLICY > | |
| const POLICY & | policy () const |
| template<typename POLICY > | |
| EntityQos & | policy (const POLICY &p) |
QoS Container.
Acts as a container for Qos policies allowing all the policies of an entity to be set and retrieved as a unit.
For more information see Infrastructure Module and Supported Quality of Service
Definition at line 45 of file EntityQos.hpp.
| dds::core::EntityQos::EntityQos | ( | ) |
Create default QoS.
| dds::core::EntityQos::EntityQos | ( | const EntityQos & | other | ) |
Create copied QoS.
| other | the QoS to copy. |
| dds::core::EntityQos::EntityQos | ( | const EntityQos< T > & | qos | ) |
Create/copy QoS from different QoS type.
| qos | the QoS to copy policies from. |
|
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:
| EntityQos& dds::core::EntityQos::operator<< | ( | const POLICY & | p | ) |
Generic function for setting a policy applicable to this QoS object. Available policies depend on the actual instantiation of the template class, which might be DomainParticipantQos, TopicQos, PublisherQos, etc.
| p | the policy to be set for this QoS instance. |
|
inherited |
| const EntityQos& dds::core::EntityQos::operator>> | ( | POLICY & | p | ) | const |
Generic function for obtaining the value of a specific policy belonging to this QoS instance.
| POLICY& dds::core::EntityQos::policy | ( | ) |
Generic function for obtaining the value of a specific policy belonging to this QoS instance.
| const POLICY& dds::core::EntityQos::policy | ( | ) | const |
Generic function for obtaining the value of a specific policy belonging to this QoS instance.
| EntityQos& dds::core::EntityQos::policy | ( | const POLICY & | p | ) |
Generic function for setting a policy applicable to this QoS object. Available policies depend on the actual instantiation of the template class, which might be DomainParticipantQos, TopicQos, PublisherQos, etc.
| p | the policy to be set for this QoS instance. |