You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,When I read the code for ddscxx, I found that many of the Publisher events Listener APIs were commented out in PublisherListener.hpp. Why?Is it because these APIs are useless? Or other reasons
The text was updated successfully, but these errors were encountered:
That's actually part of the documentation. If you want to use a listener you have to create your own listener class that inherits from dds::pub::PublisherListener and this example hopefully helps you get started.
I don't quite understand what you're looking for. You should be able to take that code and create a publisher that uses that listener object. That is so straightforward you surely can't be asking for it.
Whether or not those listeners will get invoked depends on whether the writers in the publisher have listeners for the same events. If a writer has a listener for on_offered_incompatible_qos, then that listener gets invoked when a reader with an incompatible QoS setting is discovered, not the one on the publisher.
hi,When I read the code for ddscxx, I found that many of the Publisher events Listener APIs were commented out in PublisherListener.hpp. Why?Is it because these APIs are useless? Or other reasons
The text was updated successfully, but these errors were encountered: