Class Endpoint

Inheritance Relationships

Derived Types

Class Documentation

class Endpoint

Class Endpoint, all entities of the RTPS network derive from this class. Although the RTPSParticipant is also defined as an endpoint in the RTPS specification, in this implementation the RTPSParticipant class does not inherit from the endpoint class. Each Endpoint object owns a pointer to the RTPSParticipant it belongs to.

Subclassed by eprosima::fastdds::rtps::RTPSReader, eprosima::fastdds::rtps::RTPSWriter

Public Functions

inline FASTDDS_EXPORTED_API const GUID_t & getGuid () const

Get associated GUID

Returns:

Associated GUID

inline FASTDDS_EXPORTED_API RecursiveTimedMutex & getMutex ()

Get mutex

Returns:

Associated Mutex

inline FASTDDS_EXPORTED_API EndpointAttributes & getAttributes ()

Get associated attributes

Returns:

Endpoint attributes

Protected Functions

Endpoint() = default
inline Endpoint(RTPSParticipantImpl *pimpl, const GUID_t &guid, const EndpointAttributes &att)
inline virtual ~Endpoint()

Protected Attributes

RTPSParticipantImpl *mp_RTPSParticipant

Pointer to the RTPSParticipant containing this endpoint.

const GUID_t m_guid

Endpoint GUID.

EndpointAttributes m_att

Endpoint Attributes.

mutable RecursiveTimedMutex mp_mutex

Endpoint Mutex.

uint32_t fixed_payload_size_ = 0

Fixed size of payloads.