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::fastrtps::rtps::RTPSReader, eprosima::fastrtps::rtps::RTPSWriter

Public Functions

inline RTPS_DllAPI const GUID_t & getGuid () const

Get associated GUID

Returns

Associated GUID

inline RTPS_DllAPI RecursiveTimedMutex & getMutex ()

Get mutex

Returns

Associated Mutex

inline RTPS_DllAPI 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.

std::shared_ptr<IPayloadPool> payload_pool_

Pool of serialized payloads.

std::shared_ptr<IChangePool> change_pool_

Pool of cache changes.

uint32_t fixed_payload_size_ = 0

Fixed size of payloads.