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

Class Participant used to group Publishers and Subscribers into a single working unit. More...

#include <Participant.h>

Public Member Functions

const rtps::GUID_t & getGuid () const
 
const ParticipantAttributesgetAttributes () const
 Get the ParticipantAttributes.
 
bool newRemoteEndpointDiscovered (const rtps::GUID_t &partguid, uint16_t userId, rtps::EndpointKind_t kind)
 Called when using a StaticEndpointDiscovery mechanism different that the one included in FastRTPS, for example when communicating with other implementations.
 
std::vector< std::string > getParticipantNames () const
 Returns a list with the participant names.
 
void assert_liveliness ()
 Asserts liveliness of manual by participant publishers.
 
rtps::ResourceEvent & get_resource_event () const
 

Friends

class Domain
 
class ParticipantImpl
 

Detailed Description

Class Participant used to group Publishers and Subscribers into a single working unit.

Member Function Documentation

◆ assert_liveliness()

void assert_liveliness ( )

Asserts liveliness of manual by participant publishers.

◆ get_resource_event()

rtps::ResourceEvent & get_resource_event ( ) const

◆ getAttributes()

const ParticipantAttributes & getAttributes ( ) const

◆ getGuid()

const rtps::GUID_t & getGuid ( ) const
    Get the rtps::GUID_t of the associated RTPSParticipant.
Returns
rtps::GUID_t

◆ getParticipantNames()

std::vector< std::string > getParticipantNames ( ) const

Returns a list with the participant names.

Returns
list of participant names.

◆ newRemoteEndpointDiscovered()

bool newRemoteEndpointDiscovered ( const rtps::GUID_t &  partguid,
uint16_t  userId,
rtps::EndpointKind_t  kind 
)

Called when using a StaticEndpointDiscovery mechanism different that the one included in FastRTPS, for example when communicating with other implementations.

It indicates to the Participant that an Endpoint from the XML has been discovered and should be activated.

Parameters
partguidParticipant rtps::GUID_t.
userIdUser defined ID as shown in the XML file.
kindEndpointKind (WRITER or READER)
Returns
True if correctly found and activated.

Friends And Related Symbol Documentation

◆ Domain

friend class Domain
friend

◆ ParticipantImpl

friend class ParticipantImpl
friend

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