Class SubscriberAttributes

Class Documentation

class SubscriberAttributes

Class SubscriberAttributes, used by the user to define the attributes of a Subscriber.

Public Functions

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

ReaderQos qos

Reader QOs.

rtps::ReaderTimes times

Times for a RELIABLE Reader.

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.

bool expectsInlineQos = false

Expects Inline QOS.

rtps::MemoryManagementPolicy_t historyMemoryPolicy = rtps::PREALLOCATED_WITH_REALLOC_MEMORY_MODE

Underlying History memory policy.

rtps::PropertyPolicy properties

Properties.

ResourceLimitedContainerConfig matched_publisher_allocation

Matched publishers allocation limits.