17.1.4.3. DataReaderQos

class eprosima::fastdds::dds::DataReaderQos

Class DataReaderQos, containing all the possible Qos that can be set for a determined DataReader. 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.

Subclassed by eprosima::fastdds::statistics::dds::DataReaderQos

Public Functions

inline DataReaderQos()

Constructor.

inline DurabilityQosPolicy &durability()

Getter for DurabilityQosPolicy

Returns

DurabilityQosPolicy reference

inline const DurabilityQosPolicy &durability() const

Getter for DurabilityQosPolicy

Returns

DurabilityQosPolicy const reference

inline void durability(const DurabilityQosPolicy &new_value)

Setter for DurabilityQosPolicy

Parameters

new_value – new value for the DurabilityQosPolicy

inline DeadlineQosPolicy &deadline()

Getter for DeadlineQosPolicy

Returns

DeadlineQosPolicy reference

inline const DeadlineQosPolicy &deadline() const

Getter for DeadlineQosPolicy

Returns

DeadlineQosPolicy const reference

inline void deadline(const DeadlineQosPolicy &new_value)

Setter for DeadlineQosPolicy

Parameters

new_value – 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 const reference

inline void latency_budget(const LatencyBudgetQosPolicy &new_value)

Setter for LatencyBudgetQosPolicy

Parameters

new_value – new value for the LatencyBudgetQosPolicy

inline LivelinessQosPolicy &liveliness()

Getter for LivelinessQosPolicy

Returns

LivelinessQosPolicy reference

inline const LivelinessQosPolicy &liveliness() const

Getter for LivelinessQosPolicy

Returns

LivelinessQosPolicy const reference

inline void liveliness(const LivelinessQosPolicy &new_value)

Setter for LivelinessQosPolicy

Parameters

new_value – new value for the LivelinessQosPolicy

inline ReliabilityQosPolicy &reliability()

Getter for ReliabilityQosPolicy

Returns

ReliabilityQosPolicy reference

inline const ReliabilityQosPolicy &reliability() const

Getter for ReliabilityQosPolicy

Returns

ReliabilityQosPolicy const reference

inline void reliability(const ReliabilityQosPolicy &new_value)

Setter for ReliabilityQosPolicy

Parameters

new_value – 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 const reference

inline void destination_order(const DestinationOrderQosPolicy &new_value)

Setter for DestinationOrderQosPolicy

Parameters

new_value – new value for the DestinationOrderQosPolicy

inline HistoryQosPolicy &history()

Getter for HistoryQosPolicy

Returns

HistoryQosPolicy reference

inline const HistoryQosPolicy &history() const

Getter for HistoryQosPolicy

Returns

HistoryQosPolicy const reference

inline void history(const HistoryQosPolicy &new_value)

Setter for HistoryQosPolicy

Parameters

new_value – 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 const reference

inline void resource_limits(const ResourceLimitsQosPolicy &new_value)

Setter for ResourceLimitsQosPolicy

Parameters

new_value – new value for the ResourceLimitsQosPolicy

inline UserDataQosPolicy &user_data()

Getter for UserDataQosPolicy

Returns

UserDataQosPolicy reference

inline const UserDataQosPolicy &user_data() const

Getter for UserDataQosPolicy

Returns

UserDataQosPolicy const reference

inline void user_data(const UserDataQosPolicy &new_value)

Setter for UserDataQosPolicy

Parameters

new_value – new value for the UserDataQosPolicy

inline OwnershipQosPolicy &ownership()

Getter for OwnershipQosPolicy

Returns

OwnershipQosPolicy reference

inline const OwnershipQosPolicy &ownership() const

Getter for OwnershipQosPolicy

Returns

OwnershipQosPolicy const reference

inline void ownership(const OwnershipQosPolicy &new_value)

Setter for OwnershipQosPolicy

Parameters

new_value – new value for the OwnershipQosPolicy

inline TimeBasedFilterQosPolicy &time_based_filter()

Getter for TimeBasedFilterQosPolicy

Returns

TimeBasedFilterQosPolicy reference

inline const TimeBasedFilterQosPolicy &time_based_filter() const

Getter for TimeBasedFilterQosPolicy

Returns

TimeBasedFilterQosPolicy const reference

inline void time_based_filter(const TimeBasedFilterQosPolicy &new_value)

Setter for TimeBasedFilterQosPolicy

Parameters

new_value – new value for the TimeBasedFilterQosPolicy

inline ReaderDataLifecycleQosPolicy &reader_data_lifecycle()

Getter for ReaderDataLifecycleQosPolicy

Returns

ReaderDataLifecycleQosPolicy reference

inline const ReaderDataLifecycleQosPolicy &reader_data_lifecycle() const

Getter for ReaderDataLifecycleQosPolicy

Returns

ReaderDataLifecycleQosPolicy const reference

inline void reader_data_lifecycle(const ReaderDataLifecycleQosPolicy &new_value)

Setter for ReaderDataLifecycleQosPolicy

Parameters

new_value – new value for the ReaderDataLifecycleQosPolicy

inline LifespanQosPolicy &lifespan()

Getter for LifespanQosPolicy

Returns

LifespanQosPolicy reference

inline const LifespanQosPolicy &lifespan() const

Getter for LifespanQosPolicy

Returns

LifespanQosPolicy const reference

inline void lifespan(const LifespanQosPolicy &new_value)

Setter for LifespanQosPolicy

Parameters

new_value – new value for the LifespanQosPolicy

inline DurabilityServiceQosPolicy &durability_service()

Getter for DurabilityServiceQosPolicy

Returns

DurabilityServiceQosPolicy reference

inline const DurabilityServiceQosPolicy &durability_service() const

Getter for DurabilityServiceQosPolicy

Returns

DurabilityServiceQosPolicy const reference

inline void durability_service(const DurabilityServiceQosPolicy &new_value)

Setter for DurabilityServiceQosPolicy

Parameters

new_value – new value for the DurabilityServiceQosPolicy

inline RTPSReliableReaderQos &reliable_reader_qos()

Getter for RTPSReliableReaderQos

Returns

RTPSReliableReaderQos reference

inline const RTPSReliableReaderQos &reliable_reader_qos() const

Getter for RTPSReliableReaderQos

Returns

RTPSReliableReaderQos const reference

inline void reliable_reader_qos(const RTPSReliableReaderQos &new_value)

Setter for RTPSReliableReaderQos

Parameters

new_value – new value for the RTPSReliableReaderQos

inline TypeConsistencyQos &type_consistency()

Getter for TypeConsistencyQos

Returns

TypeConsistencyQos reference

inline const TypeConsistencyQos &type_consistency() const

Getter for TypeConsistencyQos

Returns

TypeConsistencyQos const reference

inline void type_consistency(const TypeConsistencyQos &new_value)

Setter for TypeConsistencyQos

Parameters

new_value – new value for the TypeConsistencyQos

inline bool expects_inline_qos() const

Getter for expectsInlineQos_

Returns

expectsInlineQos_

inline void expects_inline_qos(bool new_value)

Setter for expectsInlineQos_

Parameters

new_value – new value for the expectsInlineQos_

inline PropertyPolicyQos &properties()

Getter for PropertyPolicyQos

Returns

PropertyPolicyQos reference

inline const PropertyPolicyQos &properties() const

Getter for PropertyPolicyQos

Returns

PropertyPolicyQos const reference

inline void properties(const PropertyPolicyQos &new_value)

Setter for PropertyPolicyQos

Parameters

new_value – new value for the PropertyPolicyQos

inline RTPSEndpointQos &endpoint()

Getter for RTPSEndpointQos

Returns

RTPSEndpointQos reference

inline const RTPSEndpointQos &endpoint() const

Getter for RTPSEndpointQos

Returns

RTPSEndpointQos const reference

inline void endpoint(const RTPSEndpointQos &new_value)

Setter for RTPSEndpointQos

Parameters

new_value – new value for the RTPSEndpointQos

inline ReaderResourceLimitsQos &reader_resource_limits()

Getter for ReaderResourceLimitsQos

Returns

ReaderResourceLimitsQos reference

inline const ReaderResourceLimitsQos &reader_resource_limits() const

Getter for ReaderResourceLimitsQos

Returns

ReaderResourceLimitsQos const reference

inline void reader_resource_limits(const ReaderResourceLimitsQos &new_value)

Setter for ReaderResourceLimitsQos

Parameters

new_value – new value for the ReaderResourceLimitsQos

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 DataReaderQos eprosima::fastdds::dds::DATAREADER_QOS_DEFAULT