Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches

Class ParticipantListener, overrides behaviour towards certain events. More...

#include <ParticipantListener.h>

Public Member Functions

 ParticipantListener ()
 
virtual ~ParticipantListener ()
 
virtual void onParticipantDiscovery (Participant *participant, rtps::ParticipantDiscoveryInfo &&info)
 This method is called when a new Participant is discovered, or a previously discovered participant changes its QOS or is removed.
 
virtual void onSubscriberDiscovery (Participant *participant, rtps::ReaderDiscoveryInfo &&info)
 This method is called when a new Subscriber is discovered, or a previously discovered subscriber changes its QOS or is removed.
 
virtual void onPublisherDiscovery (Participant *participant, rtps::WriterDiscoveryInfo &&info)
 This method is called when a new Publisher is discovered, or a previously discovered publisher changes its QOS or is removed.
 

Detailed Description

Class ParticipantListener, overrides behaviour towards certain events.

Constructor & Destructor Documentation

◆ ParticipantListener()

ParticipantListener ( )
inline

◆ ~ParticipantListener()

virtual ~ParticipantListener ( )
inlinevirtual

Member Function Documentation

◆ onParticipantDiscovery()

virtual void onParticipantDiscovery ( Participant participant,
rtps::ParticipantDiscoveryInfo &&  info 
)
inlinevirtual

This method is called when a new Participant is discovered, or a previously discovered participant changes its QOS or is removed.

Parameters
participantPointer to the Participant which discovered the remote participant.
infoRemote participant information. User can take ownership of the object.

◆ onPublisherDiscovery()

virtual void onPublisherDiscovery ( Participant participant,
rtps::WriterDiscoveryInfo &&  info 
)
inlinevirtual

This method is called when a new Publisher is discovered, or a previously discovered publisher changes its QOS or is removed.

Parameters
participantPointer to the Participant which discovered the remote publisher.
infoRemote publisher information. User can take ownership of the object.

◆ onSubscriberDiscovery()

virtual void onSubscriberDiscovery ( Participant participant,
rtps::ReaderDiscoveryInfo &&  info 
)
inlinevirtual

This method is called when a new Subscriber is discovered, or a previously discovered subscriber changes its QOS or is removed.

Parameters
participantPointer to the Participant which discovered the remote subscriber.
infoRemote subscriber information. User can take ownership of the object.

The documentation for this class was generated from the following file: