15.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.

Public Functions

DataWriterQos()

Constructor.

~DataWriterQos() = default

Destructor.

DurabilityQosPolicy &durability()

Getter for DurabilityQosPolicy

Return

DurabilityQosPolicy reference

const DurabilityQosPolicy &durability() const

Getter for DurabilityQosPolicy

Return

DurabilityQosPolicy reference

void durability(const DurabilityQosPolicy &durability)

Setter for DurabilityQosPolicy

Parameters

DurabilityServiceQosPolicy &durability_service()

Getter for DurabilityServiceQosPolicy

Return

DurabilityServiceQosPolicy reference

const DurabilityServiceQosPolicy &durability_service() const

Getter for DurabilityServiceQosPolicy

Return

DurabilityServiceQosPolicy reference

void durability_service(const DurabilityServiceQosPolicy &durability_service)

Setter for DurabilityServiceQosPolicy

Parameters

DeadlineQosPolicy &deadline()

Getter for DeadlineQosPolicy

Return

DeadlineQosPolicy reference

const DeadlineQosPolicy &deadline() const

Getter for DeadlineQosPolicy

Return

DeadlineQosPolicy reference

void deadline(const DeadlineQosPolicy &deadline)

Setter for DeadlineQosPolicy

Parameters

LatencyBudgetQosPolicy &latency_budget()

Getter for LatencyBudgetQosPolicy

Return

LatencyBudgetQosPolicy reference

const LatencyBudgetQosPolicy &latency_budget() const

Getter for LatencyBudgetQosPolicy

Return

LatencyBudgetQosPolicy reference

void latency_budget(const LatencyBudgetQosPolicy &latency_budget)

Setter for LatencyBudgetQosPolicy

Parameters

LivelinessQosPolicy &liveliness()

Getter for LivelinessQosPolicy

Return

LivelinessQosPolicy reference

const LivelinessQosPolicy &liveliness() const

Getter for LivelinessQosPolicy

Return

LivelinessQosPolicy reference

void liveliness(const LivelinessQosPolicy &liveliness)

Setter for LivelinessQosPolicy

Parameters

ReliabilityQosPolicy &reliability()

Getter for ReliabilityQosPolicy

Return

ReliabilityQosPolicy reference

const ReliabilityQosPolicy &reliability() const

Getter for ReliabilityQosPolicy

Return

ReliabilityQosPolicy reference

void reliability(const ReliabilityQosPolicy &reliability)

Setter for ReliabilityQosPolicy

Parameters

DestinationOrderQosPolicy &destination_order()

Getter for DestinationOrderQosPolicy

Return

DestinationOrderQosPolicy reference

const DestinationOrderQosPolicy &destination_order() const

Getter for DestinationOrderQosPolicy

Return

DestinationOrderQosPolicy reference

void destination_order(const DestinationOrderQosPolicy &destination_order)

Setter for DestinationOrderQosPolicy

Parameters

HistoryQosPolicy &history()

Getter for HistoryQosPolicy

Return

HistoryQosPolicy reference

const HistoryQosPolicy &history() const

Getter for HistoryQosPolicy

Return

HistoryQosPolicy reference

void history(const HistoryQosPolicy &history)

Setter for HistoryQosPolicy

Parameters

ResourceLimitsQosPolicy &resource_limits()

Getter for ResourceLimitsQosPolicy

Return

ResourceLimitsQosPolicy reference

const ResourceLimitsQosPolicy &resource_limits() const

Getter for ResourceLimitsQosPolicy

Return

ResourceLimitsQosPolicy reference

void resource_limits(const ResourceLimitsQosPolicy &resource_limits)

Setter for ResourceLimitsQosPolicy

Parameters

TransportPriorityQosPolicy &transport_priority()

Getter for TransportPriorityQosPolicy

Return

TransportPriorityQosPolicy reference

const TransportPriorityQosPolicy &transport_priority() const

Getter for TransportPriorityQosPolicy

Return

TransportPriorityQosPolicy reference

void transport_priority(const TransportPriorityQosPolicy &transport_priority)

Setter for TransportPriorityQosPolicy

Parameters

LifespanQosPolicy &lifespan()

Getter for LifespanQosPolicy

Return

LifespanQosPolicy reference

const LifespanQosPolicy &lifespan() const

Getter for LifespanQosPolicy

Return

LifespanQosPolicy reference

void lifespan(const LifespanQosPolicy &lifespan)

Setter for LifespanQosPolicy

Parameters

UserDataQosPolicy &user_data()

Getter for UserDataQosPolicy

Return

UserDataQosPolicy reference

const UserDataQosPolicy &user_data() const

Getter for UserDataQosPolicy

Return

UserDataQosPolicy reference

void user_data(const UserDataQosPolicy &user_data)

Setter for UserDataQosPolicy

Parameters

OwnershipQosPolicy &ownership()

Getter for OwnershipQosPolicy

Return

OwnershipQosPolicy reference

const OwnershipQosPolicy &ownership() const

Getter for OwnershipQosPolicy

Return

OwnershipQosPolicy reference

void ownership(const OwnershipQosPolicy &ownership)

Setter for OwnershipQosPolicy

Parameters

OwnershipStrengthQosPolicy &ownership_strength()

Getter for OwnershipStrengthQosPolicy

Return

OwnershipStrengthQosPolicy reference

const OwnershipStrengthQosPolicy &ownership_strength() const

Getter for OwnershipStrengthQosPolicy

Return

OwnershipStrengthQosPolicy reference

void ownership_strength(const OwnershipStrengthQosPolicy &ownership_strength)

Setter for OwnershipStrengthQosPolicy

Parameters

WriterDataLifecycleQosPolicy &writer_data_lifecycle()

Getter for WriterDataLifecycleQosPolicy

Return

WriterDataLifecycleQosPolicy reference

const WriterDataLifecycleQosPolicy &writer_data_lifecycle() const

Getter for WriterDataLifecycleQosPolicy

Return

WriterDataLifecycleQosPolicy reference

void writer_data_lifecycle(const WriterDataLifecycleQosPolicy &writer_data_lifecycle)

Setter for WriterDataLifecycleQosPolicy

Parameters

PublishModeQosPolicy &publish_mode()

Getter for PublishModeQosPolicy

Return

PublishModeQosPolicy reference

const PublishModeQosPolicy &publish_mode() const

Getter for PublishModeQosPolicy

Return

PublishModeQosPolicy reference

void publish_mode(const PublishModeQosPolicy &publish_mode)

Setter for PublishModeQosPolicy

Parameters

DataRepresentationQosPolicy &representation()

Getter for DataRepresentationQosPolicy

Return

DataRepresentationQosPolicy reference

const DataRepresentationQosPolicy &representation() const

Getter for DataRepresentationQosPolicy

Return

DataRepresentationQosPolicy reference

void representation(const DataRepresentationQosPolicy &representation)

Setter for DataRepresentationQosPolicy

Parameters

PropertyPolicyQos &properties()

Getter for PropertyPolicyQos

Return

PropertyPolicyQos reference

const PropertyPolicyQos &properties() const

Getter for PropertyPolicyQos

Return

PropertyPolicyQos reference

void properties(const PropertyPolicyQos &properties)

Setter for PropertyPolicyQos

Parameters
  • properties: new value for the PropertyPolicyQos

RTPSReliableWriterQos &reliable_writer_qos()

Getter for RTPSReliableWriterQos

Return

RTPSReliableWriterQos reference

const RTPSReliableWriterQos &reliable_writer_qos() const

Getter for RTPSReliableWriterQos

Return

RTPSReliableWriterQos reference

void reliable_writer_qos(const RTPSReliableWriterQos &reliable_writer_qos)

Setter for RTPSReliableWriterQos

Parameters

RTPSEndpointQos &endpoint()

Getter for RTPSEndpointQos

Return

RTPSEndpointQos reference

const RTPSEndpointQos &endpoint() const

Getter for RTPSEndpointQos

Return

RTPSEndpointQos reference

void endpoint(const RTPSEndpointQos &endpoint)

Setter for RTPSEndpointQos

Parameters

WriterResourceLimitsQos &writer_resource_limits()

Getter for WriterResourceLimitsQos

Return

WriterResourceLimitsQos reference

const WriterResourceLimitsQos &writer_resource_limits() const

Getter for WriterResourceLimitsQos

Return

WriterResourceLimitsQos reference

void writer_resource_limits(const WriterResourceLimitsQos &writer_resource_limits)

Setter for WriterResourceLimitsQos

Parameters

fastrtps::rtps::ThroughputControllerDescriptor &throughput_controller()

Getter for ThroughputControllerDescriptor

Return

ThroughputControllerDescriptor reference

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

Getter for ThroughputControllerDescriptor

Return

ThroughputControllerDescriptor reference

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

Setter for ThroughputControllerDescriptor

Parameters
  • throughput_controller: new value for the ThroughputControllerDescriptor

DataSharingQosPolicy &data_sharing()

Getter for DataSharingQosPolicy

Return

DataSharingQosPolicy reference

const DataSharingQosPolicy &data_sharing() const

Getter for DataSharingQosPolicy

Return

DataSharingQosPolicy reference

void data_sharing(const DataSharingQosPolicy &data_sharing)

Setter for DataSharingQosPolicy

Parameters

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