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

Public Functions

DataReaderQos()

Constructor.

DurabilityQosPolicy &durability()

Getter for DurabilityQosPolicy

Return

DurabilityQosPolicy reference

const DurabilityQosPolicy &durability() const

Getter for DurabilityQosPolicy

Return

DurabilityQosPolicy const reference

void durability(const DurabilityQosPolicy &new_value)

Setter for DurabilityQosPolicy

Parameters

DeadlineQosPolicy &deadline()

Getter for DeadlineQosPolicy

Return

DeadlineQosPolicy reference

const DeadlineQosPolicy &deadline() const

Getter for DeadlineQosPolicy

Return

DeadlineQosPolicy const reference

void deadline(const DeadlineQosPolicy &new_value)

Setter for DeadlineQosPolicy

Parameters

LatencyBudgetQosPolicy &latency_budget()

Getter for LatencyBudgetQosPolicy

Return

LatencyBudgetQosPolicy reference

const LatencyBudgetQosPolicy &latency_budget() const

Getter for LatencyBudgetQosPolicy

Return

LatencyBudgetQosPolicy const reference

void latency_budget(const LatencyBudgetQosPolicy &new_value)

Setter for LatencyBudgetQosPolicy

Parameters

LivelinessQosPolicy &liveliness()

Getter for LivelinessQosPolicy

Return

LivelinessQosPolicy reference

const LivelinessQosPolicy &liveliness() const

Getter for LivelinessQosPolicy

Return

LivelinessQosPolicy const reference

void liveliness(const LivelinessQosPolicy &new_value)

Setter for LivelinessQosPolicy

Parameters

ReliabilityQosPolicy &reliability()

Getter for ReliabilityQosPolicy

Return

ReliabilityQosPolicy reference

const ReliabilityQosPolicy &reliability() const

Getter for ReliabilityQosPolicy

Return

ReliabilityQosPolicy const reference

void reliability(const ReliabilityQosPolicy &new_value)

Setter for ReliabilityQosPolicy

Parameters

DestinationOrderQosPolicy &destination_order()

Getter for DestinationOrderQosPolicy

Return

DestinationOrderQosPolicy reference

const DestinationOrderQosPolicy &destination_order() const

Getter for DestinationOrderQosPolicy

Return

DestinationOrderQosPolicy const reference

void destination_order(const DestinationOrderQosPolicy &new_value)

Setter for DestinationOrderQosPolicy

Parameters

HistoryQosPolicy &history()

Getter for HistoryQosPolicy

Return

HistoryQosPolicy reference

const HistoryQosPolicy &history() const

Getter for HistoryQosPolicy

Return

HistoryQosPolicy const reference

void history(const HistoryQosPolicy &new_value)

Setter for HistoryQosPolicy

Parameters

ResourceLimitsQosPolicy &resource_limits()

Getter for ResourceLimitsQosPolicy

Return

ResourceLimitsQosPolicy reference

const ResourceLimitsQosPolicy &resource_limits() const

Getter for ResourceLimitsQosPolicy

Return

ResourceLimitsQosPolicy const reference

void resource_limits(const ResourceLimitsQosPolicy &new_value)

Setter for ResourceLimitsQosPolicy

Parameters

UserDataQosPolicy &user_data()

Getter for UserDataQosPolicy

Return

UserDataQosPolicy reference

const UserDataQosPolicy &user_data() const

Getter for UserDataQosPolicy

Return

UserDataQosPolicy const reference

void user_data(const UserDataQosPolicy &new_value)

Setter for UserDataQosPolicy

Parameters

OwnershipQosPolicy &ownership()

Getter for OwnershipQosPolicy

Return

OwnershipQosPolicy reference

const OwnershipQosPolicy &ownership() const

Getter for OwnershipQosPolicy

Return

OwnershipQosPolicy const reference

void ownership(const OwnershipQosPolicy &new_value)

Setter for OwnershipQosPolicy

Parameters

TimeBasedFilterQosPolicy &time_based_filter()

Getter for TimeBasedFilterQosPolicy

Return

TimeBasedFilterQosPolicy reference

const TimeBasedFilterQosPolicy &time_based_filter() const

Getter for TimeBasedFilterQosPolicy

Return

TimeBasedFilterQosPolicy const reference

void time_based_filter(const TimeBasedFilterQosPolicy &new_value)

Setter for TimeBasedFilterQosPolicy

Parameters

ReaderDataLifecycleQosPolicy &reader_data_lifecycle()

Getter for ReaderDataLifecycleQosPolicy

Return

ReaderDataLifecycleQosPolicy reference

const ReaderDataLifecycleQosPolicy &reader_data_lifecycle() const

Getter for ReaderDataLifecycleQosPolicy

Return

ReaderDataLifecycleQosPolicy const reference

void reader_data_lifecycle(const ReaderDataLifecycleQosPolicy &new_value)

Setter for ReaderDataLifecycleQosPolicy

Parameters

LifespanQosPolicy &lifespan()

Getter for LifespanQosPolicy

Return

LifespanQosPolicy reference

const LifespanQosPolicy &lifespan() const

Getter for LifespanQosPolicy

Return

LifespanQosPolicy const reference

void lifespan(const LifespanQosPolicy &new_value)

Setter for LifespanQosPolicy

Parameters

DurabilityServiceQosPolicy &durability_service()

Getter for DurabilityServiceQosPolicy

Return

DurabilityServiceQosPolicy reference

const DurabilityServiceQosPolicy &durability_service() const

Getter for DurabilityServiceQosPolicy

Return

DurabilityServiceQosPolicy const reference

void durability_service(const DurabilityServiceQosPolicy &new_value)

Setter for DurabilityServiceQosPolicy

Parameters

RTPSReliableReaderQos &reliable_reader_qos()

Getter for RTPSReliableReaderQos

Return

RTPSReliableReaderQos reference

const RTPSReliableReaderQos &reliable_reader_qos() const

Getter for RTPSReliableReaderQos

Return

RTPSReliableReaderQos const reference

void reliable_reader_qos(const RTPSReliableReaderQos &new_value)

Setter for RTPSReliableReaderQos

Parameters

TypeConsistencyQos &type_consistency()

Getter for TypeConsistencyQos

Return

TypeConsistencyQos reference

const TypeConsistencyQos &type_consistency() const

Getter for TypeConsistencyQos

Return

TypeConsistencyQos const reference

void type_consistency(const TypeConsistencyQos &new_value)

Setter for TypeConsistencyQos

Parameters

bool expects_inline_qos() const

Getter for expectsInlineQos_

Return

expectsInlineQos_

void expects_inline_qos(bool new_value)

Setter for expectsInlineQos_

Parameters
  • new_value: new value for the expectsInlineQos_

PropertyPolicyQos &properties()

Getter for PropertyPolicyQos

Return

PropertyPolicyQos reference

const PropertyPolicyQos &properties() const

Getter for PropertyPolicyQos

Return

PropertyPolicyQos const reference

void properties(const PropertyPolicyQos &new_value)

Setter for PropertyPolicyQos

Parameters
  • new_value: new value for the PropertyPolicyQos

RTPSEndpointQos &endpoint()

Getter for RTPSEndpointQos

Return

RTPSEndpointQos reference

const RTPSEndpointQos &endpoint() const

Getter for RTPSEndpointQos

Return

RTPSEndpointQos const reference

void endpoint(const RTPSEndpointQos &new_value)

Setter for RTPSEndpointQos

Parameters

ReaderResourceLimitsQos &reader_resource_limits()

Getter for ReaderResourceLimitsQos

Return

ReaderResourceLimitsQos reference

const ReaderResourceLimitsQos &reader_resource_limits() const

Getter for ReaderResourceLimitsQos

Return

ReaderResourceLimitsQos const reference

void reader_resource_limits(const ReaderResourceLimitsQos &new_value)

Setter for ReaderResourceLimitsQos

Parameters

const DataReaderQos dds::fastdds::eprosima::DATAREADER_QOS_DEFAULT