Class PublisherListener
Defined in File PublisherListener.h
Class Documentation
-
class PublisherListener
Class PublisherListener, allows the end user to implement callbacks triggered by certain events.
Public Functions
-
inline PublisherListener()
-
inline virtual ~PublisherListener()
-
inline virtual void onPublicationMatched(Publisher *pub, rtps::MatchingInfo &info)
This method is called when the Publisher is matched (or unmatched) against an endpoint.
- Parameters:
pub – Pointer to the associated Publisher
info – Information regarding the matched subscriber
-
inline virtual void on_offered_deadline_missed(Publisher *pub, const OfferedDeadlineMissedStatus &status)
A method called when a deadline is missed
- Parameters:
pub – Pointer to the associated Publisher
status – The deadline missed status
-
inline virtual void on_liveliness_lost(Publisher *pub, const LivelinessLostStatus &status)
Method called when the liveliness of a publisher is lost.
- Parameters:
pub – The publisher
status – The liveliness lost status
-
inline PublisherListener()