RTI Connext Modern C++ API
Version 6.1.2
|
Contains DataReaderQos and SubscriberQos. More...
Classes | |
class | DataReaderQos |
<<value-type>> Container of the QoS policies that a dds::sub::DataReader supports More... | |
class | SubscriberQos |
<<value-type>> Container of the QoS policies that a dds::sub::Subscriber supports More... | |
Contains DataReaderQos and SubscriberQos.
std::string to_string | ( | const DataReaderQos & | qos, |
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::sub::qos::DataReaderQos
qos | The qos object to convert to a string |
format | The optional print format used to format the output string. |
The several to_string overloads allow formatting the output and printing only the differences with respect to another Qos object.
This overload uses the default print format and only prints the differences between qos and the documented default.
std::string to_string | ( | const DataReaderQos & | qos, |
const DataReaderQos & | base, | ||
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::sub::qos::DataReaderQos
qos | The qos object to convert to a string |
base | The base qos. Only the differences between base and qos are included in the output string. If you want to print everything within the QoS, use the overload that accepts a rti::core::qos_print_all_t. |
format | The optional print format used to format the output string. |
This overload prints the differences between qos and base. If no print format is specified, the default will be used.
std::string to_string | ( | const DataReaderQos & | qos, |
const rti::core::qos_print_all_t & | qos_print_all, | ||
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::sub::qos::DataReaderQos
qos | The qos object to convert to a string |
qos_print_all | The sentinel value indicating that the entire QoS should be converted to a string. The other overloads of this API only print the differences with respect to a base profile, or to the documented default. |
format | The optional print format used to format the output string. |
This overload prints all of the policies within qos. If no print format is specified, the default will be used.
The only valid value for the qos_print_all argument is rti::core::qos_print_all
For example:
|
inline |
<<extension>> Prints a dds::sub::qos::DataReaderQos to an output stream.
std::string to_string | ( | const SubscriberQos & | qos, |
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::sub::qos::SubscriberQos
qos | The qos object to convert to a string |
format | The optional print format used to format the output string. |
The several to_string overloads allow formatting the output and printing only the differences with respect to another Qos object.
This overload uses the default print format and only prints the differences between qos and the documented default.
std::string to_string | ( | const SubscriberQos & | qos, |
const SubscriberQos & | base, | ||
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::sub::qos::SubscriberQos
qos | The qos object to convert to a string |
base | The base qos. Only the differences between base and qos are included in the output string. If you want to print everything within the QoS, use the overload that accepts a rti::core::qos_print_all_t. |
format | The optional print format used to format the output string. |
This overload prints the differences between qos and base. If no print format is specified, the default will be used.
std::string to_string | ( | const SubscriberQos & | qos, |
const rti::core::qos_print_all_t & | qos_print_all, | ||
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::sub::qos::SubscriberQos
qos | The qos object to convert to a string |
qos_print_all | The sentinel value indicating that the entire QoS should be converted to a string. The other overloads of this API only print the differences with respect to a base profile, or to the documented default. |
format | The optional print format used to format the output string. |
This overload prints all of the policies within qos. If no print format is specified, the default will be used.
The only valid value for the qos_print_all argument is rti::core::qos_print_all
For example:
|
inline |
<<extension>> Prints a dds::sub::qos::SubscriberQos to an output stream.