Fast RTPS  Version 2.14.1
Fast RTPS
Loading...
Searching...
No Matches

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

#include <SubscriberAttributes.h>

Public Member Functions

 SubscriberAttributes ()=default
 
virtual ~SubscriberAttributes ()=default
 
bool operator== (const SubscriberAttributes &b) const
 
bool operator!= (const SubscriberAttributes &b) const
 
int16_t getUserDefinedID () const
 Get the user defined ID.
 
int16_t getEntityID () const
 Get the entity defined ID.
 
void setUserDefinedID (uint8_t id)
 Set the user defined ID.
 
void setEntityID (uint8_t id)
 Set the entity ID.
 

Public Attributes

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.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SubscriberAttributes()

SubscriberAttributes ( )
default

◆ ~SubscriberAttributes()

virtual ~SubscriberAttributes ( )
virtualdefault

Member Function Documentation

◆ getEntityID()

int16_t getEntityID ( ) const
inline

Get the entity defined ID.

Returns
Entity ID

◆ getUserDefinedID()

int16_t getUserDefinedID ( ) const
inline

Get the user defined ID.

Returns
User defined ID

◆ operator!=()

bool operator!= ( const SubscriberAttributes b) const
inline

◆ operator==()

bool operator== ( const SubscriberAttributes b) const
inline

◆ setEntityID()

void setEntityID ( uint8_t  id)
inline

Set the entity ID.

Parameters
idEntity ID to be set

◆ setUserDefinedID()

void setUserDefinedID ( uint8_t  id)
inline

Set the user defined ID.

Parameters
idUser defined ID to be set

Member Data Documentation

◆ expectsInlineQos

bool expectsInlineQos = false

Expects Inline QOS.

◆ external_unicast_locators

fastdds::rtps::ExternalLocators external_unicast_locators

The collection of external locators to use for communication.

◆ historyMemoryPolicy

rtps::MemoryManagementPolicy_t historyMemoryPolicy = rtps::PREALLOCATED_WITH_REALLOC_MEMORY_MODE

Underlying History memory policy.

◆ ignore_non_matching_locators

bool ignore_non_matching_locators = false

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

◆ matched_publisher_allocation

ResourceLimitedContainerConfig matched_publisher_allocation

Matched publishers allocation limits.

◆ multicastLocatorList

rtps::LocatorList_t multicastLocatorList

Multicast locator list.

◆ properties

rtps::PropertyPolicy properties

Properties.

◆ qos

ReaderQos qos

Reader QOs.

◆ remoteLocatorList

rtps::LocatorList_t remoteLocatorList

Remote locator list.

◆ times

rtps::ReaderTimes times

Times for a RELIABLE Reader.

◆ topic

Topic Attributes.

◆ unicastLocatorList

rtps::LocatorList_t unicastLocatorList

Unicast locator list.


The documentation for this class was generated from the following file: