19.1.3.6. PublisherQos

class PublisherQos

Class PublisherQos, containing all the possible Qos that can be set for a determined Publisher. Although these values can be set and are transmitted during the Endpoint Discovery Protocol, not all of the behaviour associated with them has been implemented in the library. Please consult each of them to check for implementation details and default values.

Public Functions

inline PublisherQos()

Constructor.

virtual ~PublisherQos() = default

Destructor.

inline const PresentationQosPolicy &presentation() const

Getter for PresentationQosPolicy

Returns:

PresentationQosPolicy reference

inline PresentationQosPolicy &presentation()

Getter for PresentationQosPolicy

Returns:

PresentationQosPolicy reference

inline void presentation(const PresentationQosPolicy &presentation)

Setter for PresentationQosPolicy

Parameters:

presentationPresentationQosPolicy

inline const PartitionQosPolicy &partition() const

Getter for PartitionQosPolicy

Returns:

PartitionQosPolicy reference

inline PartitionQosPolicy &partition()

Getter for PartitionQosPolicy

Returns:

PartitionQosPolicy reference

inline void partition(const PartitionQosPolicy &partition)

Setter for PartitionQosPolicy

Parameters:

partitionPartitionQosPolicy

inline const GroupDataQosPolicy &group_data() const

Getter for GroupDataQosPolicy

Returns:

GroupDataQosPolicy reference

inline GroupDataQosPolicy &group_data()

Getter for GroupDataQosPolicy

Returns:

GroupDataQosPolicy reference

inline void group_data(const GroupDataQosPolicy &group_data)

Setter for GroupDataQosPolicy

Parameters:

group_dataGroupDataQosPolicy

inline const EntityFactoryQosPolicy &entity_factory() const

Getter for EntityFactoryQosPolicy

Returns:

EntityFactoryQosPolicy reference

inline EntityFactoryQosPolicy &entity_factory()

Getter for EntityFactoryQosPolicy

Returns:

EntityFactoryQosPolicy reference

inline void entity_factory(const EntityFactoryQosPolicy &entity_factory)

Setter for EntityFactoryQosPolicy

Parameters:

entity_factoryEntityFactoryQosPolicy

const PublisherQos eprosima::fastdds::dds::PUBLISHER_QOS_DEFAULT