17.2.1.5. EndpointAttributes

class eprosima::fastrtps::rtps::EndpointAttributes

Structure EndpointAttributes, describing the attributes associated with an RTPS Endpoint.

Public Functions

inline int16_t getUserDefinedID() const

Get the user defined ID

Returns

User defined ID

inline int16_t getEntityID() const

Get the entity defined ID

Returns

Entity ID

inline void setUserDefinedID(uint8_t id)

Set the user defined ID

Parameters

id – User defined ID to be set

inline void setEntityID(uint8_t id)

Set the entity ID

Parameters

id – Entity ID to be set

inline void set_data_sharing_configuration(DataSharingQosPolicy cfg)

Set the DataSharing configuration

Parameters

cfg – Configuration to be set

inline const DataSharingQosPolicy &data_sharing_configuration() const

Get the DataSharing configuration

Returns

Configuration of data sharing

Public Members

EndpointKind_t endpointKind

Endpoint kind, default value WRITER.

TopicKind_t topicKind

Topic kind, default value NO_KEY.

ReliabilityKind_t reliabilityKind

Reliability kind, default value BEST_EFFORT.

DurabilityKind_t durabilityKind

Durability kind, default value VOLATILE.

GUID_t persistence_guid

GUID used for persistence.

LocatorList_t unicastLocatorList

Unicast locator list.

LocatorList_t multicastLocatorList

Multicast locator list.

LocatorList_t remoteLocatorList

Remote locator list.

PropertyPolicy properties

Properties.