builtin_subscriber and lookup_datareader

2 posts / 0 new
Last post
Last seen: 6 years 8 months ago
Joined: 06/14/2017
Posts: 1
builtin_subscriber and lookup_datareader

I'm looking for the method lookup_datareader. I supposed i can find it in dds::sub::Subscriber, but not. I can not find him on doc (https://community.rti.com/static/documentation/connext-dds/5.2.0/doc/api/connext_dds/api_cpp2/index.html), but is referenced on some pages (https://community.rti.com/static/documentation/connext-dds/5.2.0/doc/api/connext_dds/api_cpp2/namespacedds_1_1sub.html#a5f150033f2e74777606927d67d866806). Where is lookup_datareader for 5.2.0 Modern C++ API?

Gerardo Pardo's picture
Last seen: 1 month 2 weeks ago
Joined: 06/02/2010
Posts: 601

In the Modern C++ they are organized with the DataReader, not the Subscriber.

In the documentation for DataReader look of the section titled "Related Functions" there you will see many "find" operations that can get you to the DataReader given a Subscriber and a Topic name as well as other criteria.