Class SubscriberListener, it should be used by the end user to implement specific callbacks to certain actions. More...
#include <SubscriberListener.h>
Public Member Functions | |
SubscriberListener () | |
virtual | ~SubscriberListener () |
virtual void | onNewDataMessage (Subscriber *sub) |
Virtual function to be implemented by the user containing the actions to be performed when a new Data Message is received. | |
virtual void | onSubscriptionMatched (Subscriber *sub, rtps::MatchingInfo &info) |
Virtual method to be called when the subscriber is matched with a new Writer (or unmatched); i.e., when a writer publishing in the same topic is discovered. | |
virtual void | on_requested_deadline_missed (Subscriber *sub, const RequestedDeadlineMissedStatus &status) |
Virtual method to be called when a topic misses the deadline period. | |
virtual void | on_liveliness_changed (Subscriber *sub, const LivelinessChangedStatus &status) |
Method called when the liveliness status associated to a subscriber changes. | |
Class SubscriberListener, it should be used by the end user to implement specific callbacks to certain actions.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Method called when the liveliness status associated to a subscriber changes.
sub | The subscriber |
status | The liveliness changed status |
|
inlinevirtual |
Virtual method to be called when a topic misses the deadline period.
sub | Subscriber |
status | The requested deadline missed status |
|
inlinevirtual |
Virtual function to be implemented by the user containing the actions to be performed when a new Data Message is received.
sub | Subscriber |
|
inlinevirtual |
Virtual method to be called when the subscriber is matched with a new Writer (or unmatched); i.e., when a writer publishing in the same topic is discovered.
sub | Subscriber |
info | Matching information |