Class DataWriterQos

Inheritance Relationships

Derived Type

Class Documentation

class 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

RTPS_DllAPI DataWriterQos()

Constructor.

RTPS_DllAPI ~DataWriterQos() = default

Destructor.

inline RTPS_DllAPI bool operator== (const DataWriterQos &b) const
RTPS_DllAPI WriterQos get_writerqos (const PublisherQos &pqos, const TopicQos &tqos) const
inline RTPS_DllAPI DurabilityQosPolicy & durability ()

Getter for DurabilityQosPolicy

Returns

DurabilityQosPolicy reference

inline RTPS_DllAPI const DurabilityQosPolicy & durability () const

Getter for DurabilityQosPolicy

Returns

DurabilityQosPolicy reference

inline RTPS_DllAPI void durability (const DurabilityQosPolicy &durability)

Setter for DurabilityQosPolicy

Parameters

durability – new value for the DurabilityQosPolicy

inline RTPS_DllAPI DurabilityServiceQosPolicy & durability_service ()

Getter for DurabilityServiceQosPolicy

Returns

DurabilityServiceQosPolicy reference

inline RTPS_DllAPI const DurabilityServiceQosPolicy & durability_service () const

Getter for DurabilityServiceQosPolicy

Returns

DurabilityServiceQosPolicy reference

inline RTPS_DllAPI void durability_service (const DurabilityServiceQosPolicy &durability_service)

Setter for DurabilityServiceQosPolicy

Parameters

durability_service – new value for the DurabilityServiceQosPolicy

inline RTPS_DllAPI DeadlineQosPolicy & deadline ()

Getter for DeadlineQosPolicy

Returns

DeadlineQosPolicy reference

inline RTPS_DllAPI const DeadlineQosPolicy & deadline () const

Getter for DeadlineQosPolicy

Returns

DeadlineQosPolicy reference

inline RTPS_DllAPI void deadline (const DeadlineQosPolicy &deadline)

Setter for DeadlineQosPolicy

Parameters

deadline – new value for the DeadlineQosPolicy

inline RTPS_DllAPI LatencyBudgetQosPolicy & latency_budget ()

Getter for LatencyBudgetQosPolicy

Returns

LatencyBudgetQosPolicy reference

inline RTPS_DllAPI const LatencyBudgetQosPolicy & latency_budget () const

Getter for LatencyBudgetQosPolicy

Returns

LatencyBudgetQosPolicy reference

inline RTPS_DllAPI void latency_budget (const LatencyBudgetQosPolicy &latency_budget)

Setter for LatencyBudgetQosPolicy

Parameters

latency_budget – new value for the LatencyBudgetQosPolicy

inline RTPS_DllAPI LivelinessQosPolicy & liveliness ()

Getter for LivelinessQosPolicy

Returns

LivelinessQosPolicy reference

inline RTPS_DllAPI const LivelinessQosPolicy & liveliness () const

Getter for LivelinessQosPolicy

Returns

LivelinessQosPolicy reference

inline RTPS_DllAPI void liveliness (const LivelinessQosPolicy &liveliness)

Setter for LivelinessQosPolicy

Parameters

liveliness – new value for the LivelinessQosPolicy

inline RTPS_DllAPI ReliabilityQosPolicy & reliability ()

Getter for ReliabilityQosPolicy

Returns

ReliabilityQosPolicy reference

inline RTPS_DllAPI const ReliabilityQosPolicy & reliability () const

Getter for ReliabilityQosPolicy

Returns

ReliabilityQosPolicy reference

inline RTPS_DllAPI void reliability (const ReliabilityQosPolicy &reliability)

Setter for ReliabilityQosPolicy

Parameters

reliability – new value for the ReliabilityQosPolicy

inline RTPS_DllAPI DestinationOrderQosPolicy & destination_order ()

Getter for DestinationOrderQosPolicy

Returns

DestinationOrderQosPolicy reference

inline RTPS_DllAPI const DestinationOrderQosPolicy & destination_order () const

Getter for DestinationOrderQosPolicy

Returns

DestinationOrderQosPolicy reference

inline RTPS_DllAPI void destination_order (const DestinationOrderQosPolicy &destination_order)

Setter for DestinationOrderQosPolicy

Parameters

destination_order – new value for the DestinationOrderQosPolicy

inline RTPS_DllAPI HistoryQosPolicy & history ()

Getter for HistoryQosPolicy

Returns

HistoryQosPolicy reference

inline RTPS_DllAPI const HistoryQosPolicy & history () const

Getter for HistoryQosPolicy

Returns

HistoryQosPolicy reference

inline RTPS_DllAPI void history (const HistoryQosPolicy &history)

Setter for HistoryQosPolicy

Parameters

history – new value for the HistoryQosPolicy

inline RTPS_DllAPI ResourceLimitsQosPolicy & resource_limits ()

Getter for ResourceLimitsQosPolicy

Returns

ResourceLimitsQosPolicy reference

inline RTPS_DllAPI const ResourceLimitsQosPolicy & resource_limits () const

Getter for ResourceLimitsQosPolicy

Returns

ResourceLimitsQosPolicy reference

inline RTPS_DllAPI void resource_limits (const ResourceLimitsQosPolicy &resource_limits)

Setter for ResourceLimitsQosPolicy

Parameters

resource_limits – new value for the ResourceLimitsQosPolicy

inline RTPS_DllAPI TransportPriorityQosPolicy & transport_priority ()

Getter for TransportPriorityQosPolicy

Returns

TransportPriorityQosPolicy reference

inline RTPS_DllAPI const TransportPriorityQosPolicy & transport_priority () const

Getter for TransportPriorityQosPolicy

Returns

TransportPriorityQosPolicy reference

inline RTPS_DllAPI void transport_priority (const TransportPriorityQosPolicy &transport_priority)

Setter for TransportPriorityQosPolicy

Parameters

transport_priority – new value for the TransportPriorityQosPolicy

inline RTPS_DllAPI LifespanQosPolicy & lifespan ()

Getter for LifespanQosPolicy

Returns

LifespanQosPolicy reference

inline RTPS_DllAPI const LifespanQosPolicy & lifespan () const

Getter for LifespanQosPolicy

Returns

LifespanQosPolicy reference

inline RTPS_DllAPI void lifespan (const LifespanQosPolicy &lifespan)

Setter for LifespanQosPolicy

Parameters

lifespan – new value for the LifespanQosPolicy

inline RTPS_DllAPI UserDataQosPolicy & user_data ()

Getter for UserDataQosPolicy

Returns

UserDataQosPolicy reference

inline RTPS_DllAPI const UserDataQosPolicy & user_data () const

Getter for UserDataQosPolicy

Returns

UserDataQosPolicy reference

inline RTPS_DllAPI void user_data (const UserDataQosPolicy &user_data)

Setter for UserDataQosPolicy

Parameters

user_data – new value for the UserDataQosPolicy

inline RTPS_DllAPI OwnershipQosPolicy & ownership ()

Getter for OwnershipQosPolicy

Returns

OwnershipQosPolicy reference

inline RTPS_DllAPI const OwnershipQosPolicy & ownership () const

Getter for OwnershipQosPolicy

Returns

OwnershipQosPolicy reference

inline RTPS_DllAPI void ownership (const OwnershipQosPolicy &ownership)

Setter for OwnershipQosPolicy

Parameters

ownership – new value for the OwnershipQosPolicy

inline RTPS_DllAPI OwnershipStrengthQosPolicy & ownership_strength ()

Getter for OwnershipStrengthQosPolicy

Returns

OwnershipStrengthQosPolicy reference

inline RTPS_DllAPI const OwnershipStrengthQosPolicy & ownership_strength () const

Getter for OwnershipStrengthQosPolicy

Returns

OwnershipStrengthQosPolicy reference

inline RTPS_DllAPI void ownership_strength (const OwnershipStrengthQosPolicy &ownership_strength)

Setter for OwnershipStrengthQosPolicy

Parameters

ownership_strength – new value for the OwnershipStrengthQosPolicy

inline RTPS_DllAPI WriterDataLifecycleQosPolicy & writer_data_lifecycle ()

Getter for WriterDataLifecycleQosPolicy

Returns

WriterDataLifecycleQosPolicy reference

inline RTPS_DllAPI const WriterDataLifecycleQosPolicy & writer_data_lifecycle () const

Getter for WriterDataLifecycleQosPolicy

Returns

WriterDataLifecycleQosPolicy reference

inline RTPS_DllAPI void writer_data_lifecycle (const WriterDataLifecycleQosPolicy &writer_data_lifecycle)

Setter for WriterDataLifecycleQosPolicy

Parameters

writer_data_lifecycle – new value for the WriterDataLifecycleQosPolicy

inline RTPS_DllAPI PublishModeQosPolicy & publish_mode ()

Getter for PublishModeQosPolicy

Returns

PublishModeQosPolicy reference

inline RTPS_DllAPI const PublishModeQosPolicy & publish_mode () const

Getter for PublishModeQosPolicy

Returns

PublishModeQosPolicy reference

inline RTPS_DllAPI void publish_mode (const PublishModeQosPolicy &publish_mode)

Setter for PublishModeQosPolicy

Parameters

publish_mode – new value for the PublishModeQosPolicy

inline RTPS_DllAPI DataRepresentationQosPolicy & representation ()

Getter for DataRepresentationQosPolicy

Returns

DataRepresentationQosPolicy reference

inline RTPS_DllAPI const DataRepresentationQosPolicy & representation () const

Getter for DataRepresentationQosPolicy

Returns

DataRepresentationQosPolicy reference

inline RTPS_DllAPI void representation (const DataRepresentationQosPolicy &representation)

Setter for DataRepresentationQosPolicy

Parameters

representation – new value for the DataRepresentationQosPolicy

inline RTPS_DllAPI PropertyPolicyQos & properties ()

Getter for PropertyPolicyQos

Returns

PropertyPolicyQos reference

inline RTPS_DllAPI const PropertyPolicyQos & properties () const

Getter for PropertyPolicyQos

Returns

PropertyPolicyQos reference

inline RTPS_DllAPI void properties (const PropertyPolicyQos &properties)

Setter for PropertyPolicyQos

Parameters

properties – new value for the PropertyPolicyQos

inline RTPS_DllAPI RTPSReliableWriterQos & reliable_writer_qos ()

Getter for RTPSReliableWriterQos

Returns

RTPSReliableWriterQos reference

inline RTPS_DllAPI const RTPSReliableWriterQos & reliable_writer_qos () const

Getter for RTPSReliableWriterQos

Returns

RTPSReliableWriterQos reference

inline RTPS_DllAPI void reliable_writer_qos (const RTPSReliableWriterQos &reliable_writer_qos)

Setter for RTPSReliableWriterQos

Parameters

reliable_writer_qos – new value for the RTPSReliableWriterQos

inline RTPS_DllAPI RTPSEndpointQos & endpoint ()

Getter for RTPSEndpointQos

Returns

RTPSEndpointQos reference

inline RTPS_DllAPI const RTPSEndpointQos & endpoint () const

Getter for RTPSEndpointQos

Returns

RTPSEndpointQos reference

inline RTPS_DllAPI void endpoint (const RTPSEndpointQos &endpoint)

Setter for RTPSEndpointQos

Parameters

endpoint – new value for the RTPSEndpointQos

inline RTPS_DllAPI WriterResourceLimitsQos & writer_resource_limits ()

Getter for WriterResourceLimitsQos

Returns

WriterResourceLimitsQos reference

inline RTPS_DllAPI const WriterResourceLimitsQos & writer_resource_limits () const

Getter for WriterResourceLimitsQos

Returns

WriterResourceLimitsQos reference

inline RTPS_DllAPI void writer_resource_limits (const WriterResourceLimitsQos &writer_resource_limits)

Setter for WriterResourceLimitsQos

Parameters

writer_resource_limits – new value for the WriterResourceLimitsQos

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

Getter for ThroughputControllerDescriptor

Deprecated:

Use flow_controllers() on DomainParticipantQoS

Returns

ThroughputControllerDescriptor reference

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

Getter for ThroughputControllerDescriptor

Deprecated:

Use flow_controllers() on DomainParticipantQoS

Returns

ThroughputControllerDescriptor reference

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

Setter for ThroughputControllerDescriptor

Deprecated:

Use flow_controllers() on DomainParticipantQoS

Parameters

throughput_controller – new value for the ThroughputControllerDescriptor

inline RTPS_DllAPI DataSharingQosPolicy & data_sharing ()

Getter for DataSharingQosPolicy

Returns

DataSharingQosPolicy reference

inline RTPS_DllAPI const DataSharingQosPolicy & data_sharing () const

Getter for DataSharingQosPolicy

Returns

DataSharingQosPolicy reference

inline RTPS_DllAPI void data_sharing (const DataSharingQosPolicy &data_sharing)

Setter for DataSharingQosPolicy

Parameters

data_sharing – new value for the DataSharingQosPolicy