CoreDX DDS Modern C++ API
|
QoS Provider. More...
Public Member Functions | |
QosProvider (const std::string &uri, const std::string &profile) | |
Create a QosProvider fetching QoS configuration from the specified URI. More... | |
dds::domain::qos::DomainParticipantQos | participant_qos () |
Access a participant qos. | |
dds::domain::qos::DomainParticipantQos | participant_qos (const std::string &id) |
Access a named participant qos. | |
dds::topic::qos::TopicQos | topic_qos () |
Access a topic qos. | |
dds::topic::qos::TopicQos | topic_qos (const std::string &id) |
Access a named topic qos. | |
dds::sub::qos::SubscriberQos | subscriber_qos () |
Access a Subscriber qos. | |
dds::sub::qos::SubscriberQos | subscriber_qos (const std::string &id) |
Access a named Subscriber qos. | |
dds::sub::qos::DataReaderQos | datareader_qos () |
Access a DataReader qos. | |
dds::sub::qos::DataReaderQos | datareader_qos (const std::string &id) |
Access a named DataReader qos. | |
dds::pub::qos::PublisherQos | publisher_qos () |
Access a Publisher qos. | |
dds::pub::qos::PublisherQos | publisher_qos (const std::string &id) |
Access a named Publisher qos. | |
dds::pub::qos::DataWriterQos | datawriter_qos () |
Access a DataWriter qos. | |
dds::pub::qos::DataWriterQos | datawriter_qos (const std::string &id) |
Access a named DataWriter qos. | |
Public Member Functions inherited from dds::core::Reference< DELEGATE > | |
Reference (dds::core::null_type &) | |
Creates a "null" reference. | |
Reference (const Reference &ref) | |
Creates a reference from another. More... | |
template<typename D > | |
Reference (const Reference< D > &ref) | |
Enables safe assignment from other reference types. More... | |
Reference (DELEGATE_T *p) | |
The following two constructors create a dds Reference from a vendor specific delegate. More... | |
~Reference () | |
Destroys a reference. | |
template<typename R > | |
bool | operator== (const R &ref) const |
Compares two reference objects and returns true if they are equal. More... | |
template<typename R > | |
bool | operator!= (const R &ref) const |
Compares two reference objects and returns true if they are not-equal. More... | |
Reference & | operator= (const null_type) |
Special assignment operators that takes care of assigning null to this reference. More... | |
bool | is_nil () const |
Returns true if this reference object is nil, meaning pointing to null. | |
bool | operator== (const null_type) const |
Special operator== used to check if this reference object equals the null reference. More... | |
bool | operator!= (const null_type nil) const |
Special operator!= used to check if this reference object does not equals the null reference. More... | |
const DELEGATE_REF_T & | delegate () const |
Returns a reference to the underlying delegate. More... | |
DELEGATE_REF_T & | delegate () |
Returns a reference to the underlying delegate. More... | |
DELEGATE * | operator-> () |
The operator->() is provided to be able to directly invoke methods on the delegate. More... | |
const DELEGATE * | operator-> () const |
The operator->() is provided to be able to directly invoke methods on the delegate. More... | |
QoS Provider.
|
explicit |
Create a QosProvider fetching QoS configuration from the specified URI.
For instance, the following code:
QosProvider xml_file_provider("file:///somewhere/on/disk/qos-config.xml");
The URI determines the how the Qos configuration is fetched and the format in which it is represented.