15.2.1.5. EndpointAttributes

class eprosima::fastrtps::rtps::EndpointAttributes

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

Public Functions

int16_t getUserDefinedID() const

Get the user defined ID

Return

User defined ID

int16_t getEntityID() const

Get the entity defined ID

Return

Entity ID

void setUserDefinedID(uint8_t id)

Set the user defined ID

Parameters
  • id: User defined ID to be set

void setEntityID(uint8_t id)

Set the entity ID

Parameters
  • id: Entity ID to be set

void set_data_sharing_configuration(DataSharingQosPolicy cfg)

Set the DataSharing configuration

Parameters
  • cfg: Configuration to be set

const DataSharingQosPolicy &data_sharing_configuration() const

Get the DataSharing configuration

Return

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.