Dear Community,
I have TopicQoS constructed as the following:
dds::topic::qos::TopicQos transient_local_reliable(
writer.publisher().participant().default_topic_qos());
transient_local_reliable
<< dds::core::policy::History::KeepLast(1)
<< dds::core::policy::Durability::TransientLocal()
<< dds::core::policy::Reliability::Reliable();
Now I need to appy transient_local_reliable.
I've tried
writer << transient_local_reliable
and
mytopic << transient_local_reliable;
Both fails to find right candidate among operator<<.
When I just assign
writer = transient_local_reliable;
I am getting error
~/rti_connext_dds-5.3.1/include/ndds/hpp/dds/core/refmacros.hpp:127:30: error: no type named ‘DELEGATE_T’ in ‘class dds::core::TEntityQos<rti::topic::qos::TopicQosImpl>’
Documantation on QoS elaborates only on reader/writer QoS:
https://community.rti.com/static/documentation/connext-dds/5.2.3/doc/api/connext_dds/api_cpp2/group__DDSQosExampleModule.html#DDSQosModule_set_qos