Getting All DataReaders

To retrieve all the DataReaders created by the Subscriber, use the Subscriber’s get_all_datareaders() operation:

DDS_ReturnCode_t get_all_datareaders(
DDS_Subscriber* self,
struct DDS_DataReaderSeq* readers);

In the Modern C++ API, use the freestanding function rti::sub::find_datareaders().

© 2018 RTI