Class PublisherAttributes

Class Documentation

class PublisherAttributes

Class PublisherAttributes, used by the user to define the attributes of a Publisher.

Public Functions

PublisherAttributes() = default
virtual ~PublisherAttributes() = default
inline bool operator==(const PublisherAttributes &b) const
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

Public Members

TopicAttributes topic

Topic Attributes for the Publisher.

WriterQos qos

QOS for the Publisher.

rtps::WriterTimes times

Writer Attributes.

rtps::LocatorList_t unicastLocatorList

Unicast locator list.

rtps::LocatorList_t multicastLocatorList

Multicast locator list.

rtps::LocatorList_t remoteLocatorList

Remote locator list.

fastdds::rtps::ExternalLocators external_unicast_locators

The collection of external locators to use for communication.

bool ignore_non_matching_locators = false

Whether locators that don’t match with the announced locators should be kept.

rtps::ThroughputControllerDescriptor throughputController

Throughput controller.

rtps::MemoryManagementPolicy_t historyMemoryPolicy = rtps::MemoryManagementPolicy_t::PREALLOCATED_WITH_REALLOC_MEMORY_MODE

Underlying History memory policy.

rtps::PropertyPolicy properties

Properties.

ResourceLimitedContainerConfig matched_subscriber_allocation

Allocation limits on the matched subscribers collections.