17.1.3.3. DataWriterQos

class eprosima::fastdds::dds::DataWriterQos

Class DataWriterQos, containing all the possible Qos that can be set for a determined DataWriter. Although these values can be 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.

Subclassed by eprosima::fastdds::statistics::dds::DataWriterQos

Public Functions

DataWriterQos()

Constructor.

~DataWriterQos() = default

Destructor.

inline DurabilityQosPolicy &durability()

Getter for DurabilityQosPolicy

Returns

DurabilityQosPolicy reference

inline const DurabilityQosPolicy &durability() const

Getter for DurabilityQosPolicy

Returns

DurabilityQosPolicy reference

inline void durability(const DurabilityQosPolicy &durability)

Setter for DurabilityQosPolicy

Parameters

durability – new value for the DurabilityQosPolicy

inline DurabilityServiceQosPolicy &durability_service()

Getter for DurabilityServiceQosPolicy

Returns

DurabilityServiceQosPolicy reference

inline const DurabilityServiceQosPolicy &durability_service() const

Getter for DurabilityServiceQosPolicy

Returns

DurabilityServiceQosPolicy reference

inline void durability_service(const DurabilityServiceQosPolicy &durability_service)

Setter for DurabilityServiceQosPolicy

Parameters

durability_service – new value for the DurabilityServiceQosPolicy

inline DeadlineQosPolicy &deadline()

Getter for DeadlineQosPolicy

Returns

DeadlineQosPolicy reference

inline const DeadlineQosPolicy &deadline() const

Getter for DeadlineQosPolicy

Returns

DeadlineQosPolicy reference

inline void deadline(const DeadlineQosPolicy &deadline)

Setter for DeadlineQosPolicy

Parameters

deadline – new value for the DeadlineQosPolicy

inline LatencyBudgetQosPolicy &latency_budget()

Getter for LatencyBudgetQosPolicy

Returns

LatencyBudgetQosPolicy reference

inline const LatencyBudgetQosPolicy &latency_budget() const

Getter for LatencyBudgetQosPolicy

Returns

LatencyBudgetQosPolicy reference

inline void latency_budget(const LatencyBudgetQosPolicy &latency_budget)

Setter for LatencyBudgetQosPolicy

Parameters

latency_budget – new value for the LatencyBudgetQosPolicy

inline LivelinessQosPolicy &liveliness()

Getter for LivelinessQosPolicy

Returns

LivelinessQosPolicy reference

inline const LivelinessQosPolicy &liveliness() const

Getter for LivelinessQosPolicy

Returns

LivelinessQosPolicy reference

inline void liveliness(const LivelinessQosPolicy &liveliness)

Setter for LivelinessQosPolicy

Parameters

liveliness – new value for the LivelinessQosPolicy

inline ReliabilityQosPolicy &reliability()

Getter for ReliabilityQosPolicy

Returns

ReliabilityQosPolicy reference

inline const ReliabilityQosPolicy &reliability() const

Getter for ReliabilityQosPolicy

Returns

ReliabilityQosPolicy reference

inline void reliability(const ReliabilityQosPolicy &reliability)

Setter for ReliabilityQosPolicy

Parameters

reliability – new value for the ReliabilityQosPolicy

inline DestinationOrderQosPolicy &destination_order()

Getter for DestinationOrderQosPolicy

Returns

DestinationOrderQosPolicy reference

inline const DestinationOrderQosPolicy &destination_order() const

Getter for DestinationOrderQosPolicy

Returns

DestinationOrderQosPolicy reference

inline void destination_order(const DestinationOrderQosPolicy &destination_order)

Setter for DestinationOrderQosPolicy

Parameters

destination_order – new value for the DestinationOrderQosPolicy

inline HistoryQosPolicy &history()

Getter for HistoryQosPolicy

Returns

HistoryQosPolicy reference

inline const HistoryQosPolicy &history() const

Getter for HistoryQosPolicy

Returns

HistoryQosPolicy reference

inline void history(const HistoryQosPolicy &history)

Setter for HistoryQosPolicy

Parameters

history – new value for the HistoryQosPolicy

inline ResourceLimitsQosPolicy &resource_limits()

Getter for ResourceLimitsQosPolicy

Returns

ResourceLimitsQosPolicy reference

inline const ResourceLimitsQosPolicy &resource_limits() const

Getter for ResourceLimitsQosPolicy

Returns

ResourceLimitsQosPolicy reference

inline void resource_limits(const ResourceLimitsQosPolicy &resource_limits)

Setter for ResourceLimitsQosPolicy

Parameters

resource_limits – new value for the ResourceLimitsQosPolicy

inline TransportPriorityQosPolicy &transport_priority()

Getter for TransportPriorityQosPolicy

Returns

TransportPriorityQosPolicy reference

inline const TransportPriorityQosPolicy &transport_priority() const

Getter for TransportPriorityQosPolicy

Returns

TransportPriorityQosPolicy reference

inline void transport_priority(const TransportPriorityQosPolicy &transport_priority)

Setter for TransportPriorityQosPolicy

Parameters

transport_priority – new value for the TransportPriorityQosPolicy

inline LifespanQosPolicy &lifespan()

Getter for LifespanQosPolicy

Returns

LifespanQosPolicy reference

inline const LifespanQosPolicy &lifespan() const

Getter for LifespanQosPolicy

Returns

LifespanQosPolicy reference

inline void lifespan(const LifespanQosPolicy &lifespan)

Setter for LifespanQosPolicy

Parameters

lifespan – new value for the LifespanQosPolicy

inline UserDataQosPolicy &user_data()

Getter for UserDataQosPolicy

Returns

UserDataQosPolicy reference

inline const UserDataQosPolicy &user_data() const

Getter for UserDataQosPolicy

Returns

UserDataQosPolicy reference

inline void user_data(const UserDataQosPolicy &user_data)

Setter for UserDataQosPolicy

Parameters

user_data – new value for the UserDataQosPolicy

inline OwnershipQosPolicy &ownership()

Getter for OwnershipQosPolicy

Returns

OwnershipQosPolicy reference

inline const OwnershipQosPolicy &ownership() const

Getter for OwnershipQosPolicy

Returns

OwnershipQosPolicy reference

inline void ownership(const OwnershipQosPolicy &ownership)

Setter for OwnershipQosPolicy

Parameters

ownership – new value for the OwnershipQosPolicy

inline OwnershipStrengthQosPolicy &ownership_strength()

Getter for OwnershipStrengthQosPolicy

Returns

OwnershipStrengthQosPolicy reference

inline const OwnershipStrengthQosPolicy &ownership_strength() const

Getter for OwnershipStrengthQosPolicy

Returns

OwnershipStrengthQosPolicy reference

inline void ownership_strength(const OwnershipStrengthQosPolicy &ownership_strength)

Setter for OwnershipStrengthQosPolicy

Parameters

ownership_strength – new value for the OwnershipStrengthQosPolicy

inline WriterDataLifecycleQosPolicy &writer_data_lifecycle()

Getter for WriterDataLifecycleQosPolicy

Returns

WriterDataLifecycleQosPolicy reference

inline const WriterDataLifecycleQosPolicy &writer_data_lifecycle() const

Getter for WriterDataLifecycleQosPolicy

Returns

WriterDataLifecycleQosPolicy reference

inline void writer_data_lifecycle(const WriterDataLifecycleQosPolicy &writer_data_lifecycle)

Setter for WriterDataLifecycleQosPolicy

Parameters

writer_data_lifecycle – new value for the WriterDataLifecycleQosPolicy

inline PublishModeQosPolicy &publish_mode()

Getter for PublishModeQosPolicy

Returns

PublishModeQosPolicy reference

inline const PublishModeQosPolicy &publish_mode() const

Getter for PublishModeQosPolicy

Returns

PublishModeQosPolicy reference

inline void publish_mode(const PublishModeQosPolicy &publish_mode)

Setter for PublishModeQosPolicy

Parameters

publish_mode – new value for the PublishModeQosPolicy

inline DataRepresentationQosPolicy &representation()

Getter for DataRepresentationQosPolicy

Returns

DataRepresentationQosPolicy reference

inline const DataRepresentationQosPolicy &representation() const

Getter for DataRepresentationQosPolicy

Returns

DataRepresentationQosPolicy reference

inline void representation(const DataRepresentationQosPolicy &representation)

Setter for DataRepresentationQosPolicy

Parameters

representation – new value for the DataRepresentationQosPolicy

inline PropertyPolicyQos &properties()

Getter for PropertyPolicyQos

Returns

PropertyPolicyQos reference

inline const PropertyPolicyQos &properties() const

Getter for PropertyPolicyQos

Returns

PropertyPolicyQos reference

inline void properties(const PropertyPolicyQos &properties)

Setter for PropertyPolicyQos

Parameters

properties – new value for the PropertyPolicyQos

inline RTPSReliableWriterQos &reliable_writer_qos()

Getter for RTPSReliableWriterQos

Returns

RTPSReliableWriterQos reference

inline const RTPSReliableWriterQos &reliable_writer_qos() const

Getter for RTPSReliableWriterQos

Returns

RTPSReliableWriterQos reference

inline void reliable_writer_qos(const RTPSReliableWriterQos &reliable_writer_qos)

Setter for RTPSReliableWriterQos

Parameters

reliable_writer_qos – new value for the RTPSReliableWriterQos

inline RTPSEndpointQos &endpoint()

Getter for RTPSEndpointQos

Returns

RTPSEndpointQos reference

inline const RTPSEndpointQos &endpoint() const

Getter for RTPSEndpointQos

Returns

RTPSEndpointQos reference

inline void endpoint(const RTPSEndpointQos &endpoint)

Setter for RTPSEndpointQos

Parameters

endpoint – new value for the RTPSEndpointQos

inline WriterResourceLimitsQos &writer_resource_limits()

Getter for WriterResourceLimitsQos

Returns

WriterResourceLimitsQos reference

inline const WriterResourceLimitsQos &writer_resource_limits() const

Getter for WriterResourceLimitsQos

Returns

WriterResourceLimitsQos reference

inline void writer_resource_limits(const WriterResourceLimitsQos &writer_resource_limits)

Setter for WriterResourceLimitsQos

Parameters

writer_resource_limits – new value for the WriterResourceLimitsQos

inline fastrtps::rtps::ThroughputControllerDescriptor &throughput_controller()

Getter for ThroughputControllerDescriptor

Returns

ThroughputControllerDescriptor reference

inline const fastrtps::rtps::ThroughputControllerDescriptor &throughput_controller() const

Getter for ThroughputControllerDescriptor

Returns

ThroughputControllerDescriptor reference

inline void throughput_controller(const fastrtps::rtps::ThroughputControllerDescriptor &throughput_controller)

Setter for ThroughputControllerDescriptor

Parameters

throughput_controller – new value for the ThroughputControllerDescriptor

inline DataSharingQosPolicy &data_sharing()

Getter for DataSharingQosPolicy

Returns

DataSharingQosPolicy reference

inline const DataSharingQosPolicy &data_sharing() const

Getter for DataSharingQosPolicy

Returns

DataSharingQosPolicy reference

inline void data_sharing(const DataSharingQosPolicy &data_sharing)

Setter for DataSharingQosPolicy

Parameters

data_sharing – new value for the DataSharingQosPolicy

const DataWriterQos eprosima::fastdds::dds::DATAWRITER_QOS_DEFAULT