19.1.5.9. TopicQos

class TopicQos

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

TopicQos()

Constructor.

inline const TopicDataQosPolicy &topic_data() const

Getter for TopicDataQosPolicy

Returns:

TopicDataQos reference

inline TopicDataQosPolicy &topic_data()

Getter for TopicDataQosPolicy

Returns:

TopicDataQos reference

inline void topic_data(const TopicDataQosPolicy &value)

Setter for TopicDataQosPolicy

Parameters:

value – new value for the TopicDataQosPolicy

inline const DurabilityQosPolicy &durability() const

Getter for DurabilityQosPolicy

Returns:

DurabilityQos reference

inline DurabilityQosPolicy &durability()

Getter for DurabilityQosPolicy

Returns:

DurabilityQos reference

inline void durability(const DurabilityQosPolicy &durability)

Setter for DurabilityQosPolicy

Parameters:

durability – new value for the DurabilityQosPolicy

inline const DurabilityServiceQosPolicy &durability_service() const

Getter for DurabilityServiceQosPolicy

Returns:

DurabilityServiceQos reference

inline DurabilityServiceQosPolicy &durability_service()

Getter for DurabilityServiceQosPolicy

Returns:

DurabilityServiceQos reference

inline void durability_service(const DurabilityServiceQosPolicy &durability_service)

Setter for DurabilityServiceQosPolicy

Parameters:

durability_service – new value for the DurabilityServiceQosPolicy

inline const DeadlineQosPolicy &deadline() const

Getter for DeadlineQosPolicy

Returns:

DeadlineQos reference

inline DeadlineQosPolicy &deadline()

Getter for DeadlineQosPolicy

Returns:

DeadlineQos reference

inline void deadline(const DeadlineQosPolicy &deadline)

Setter for DeadlineQosPolicy

Parameters:

deadline – new value for the DeadlineQosPolicy

inline const LatencyBudgetQosPolicy &latency_budget() const

Getter for LatencyBudgetQosPolicy

Returns:

LatencyBudgetQos reference

inline LatencyBudgetQosPolicy &latency_budget()

Getter for LatencyBudgetQosPolicy

Returns:

LatencyBudgetQos reference

inline void latency_budget(const LatencyBudgetQosPolicy &latency_budget)

Setter for LatencyBudgetQosPolicy

Parameters:

latency_budget – new value for the LatencyBudgetQosPolicy

inline const LivelinessQosPolicy &liveliness() const

Getter for LivelinessQosPolicy

Returns:

LivelinessQos reference

inline LivelinessQosPolicy &liveliness()

Getter for LivelinessQosPolicy

Returns:

LivelinessQos reference

inline void liveliness(const LivelinessQosPolicy &liveliness)

Setter for LivelinessQosPolicy

Parameters:

liveliness – new value for the LivelinessQosPolicy

inline const ReliabilityQosPolicy &reliability() const

Getter for ReliabilityQosPolicy

Returns:

ReliabilityQos reference

inline ReliabilityQosPolicy &reliability()

Getter for ReliabilityQosPolicy

Returns:

ReliabilityQos reference

inline void reliability(const ReliabilityQosPolicy &reliability)

Setter for ReliabilityQosPolicy

Parameters:

reliability – new value for the ReliabilityQosPolicy

inline const DestinationOrderQosPolicy &destination_order() const

Getter for DestinationOrderQosPolicy

Returns:

DestinationOrderQos reference

inline DestinationOrderQosPolicy &destination_order()

Getter for DestinationOrderQosPolicy

Returns:

DestinationOrderQos reference

inline void destination_order(const DestinationOrderQosPolicy &destination_order)

Setter for DestinationOrderQosPolicy

Parameters:

destination_order – new value for the DestinationOrderQosPolicy

inline const HistoryQosPolicy &history() const

Getter for HistoryQosPolicy

Returns:

HistoryQos reference

inline HistoryQosPolicy &history()

Getter for HistoryQosPolicy

Returns:

HistoryQos reference

inline void history(const HistoryQosPolicy &history)

Setter for HistoryQosPolicy

Parameters:

history – new value for the HistoryQosPolicy

inline const ResourceLimitsQosPolicy &resource_limits() const

Getter for ResourceLimitsQosPolicy

Returns:

ResourceLimitsQos reference

inline ResourceLimitsQosPolicy &resource_limits()

Getter for ResourceLimitsQosPolicy

Returns:

ResourceLimitsQos reference

inline void resource_limits(const ResourceLimitsQosPolicy &resource_limits)

Setter for ResourceLimitsQosPolicy

Parameters:

resource_limits – new value for the ResourceLimitsQosPolicy

inline const TransportPriorityQosPolicy &transport_priority() const

Getter for TransportPriorityQosPolicy

Returns:

TransportPriorityQos reference

inline TransportPriorityQosPolicy &transport_priority()

Getter for TransportPriorityQosPolicy

Returns:

TransportPriorityQos reference

inline void transport_priority(const TransportPriorityQosPolicy &transport_priority)

Setter for TransportPriorityQosPolicy

Parameters:

transport_priority – new value for the TransportPriorityQosPolicy

inline const LifespanQosPolicy &lifespan() const

Getter for LifespanQosPolicy

Returns:

LifespanQos reference

inline LifespanQosPolicy &lifespan()

Getter for LifespanQosPolicy

Returns:

LifespanQos reference

inline void lifespan(const LifespanQosPolicy &lifespan)

Setter for LifespanQosPolicy

Parameters:

lifespan – new value for the LifespanQosPolicy

inline const OwnershipQosPolicy &ownership() const

Getter for OwnershipQosPolicy

Returns:

OwnershipQos reference

inline OwnershipQosPolicy &ownership()

Getter for OwnershipQosPolicy

Returns:

OwnershipQos reference

inline void ownership(const OwnershipQosPolicy &ownership)

Setter for OwnershipQosPolicy

Parameters:

ownership – new value for the OwnershipQosPolicy

inline const DataRepresentationQosPolicy &representation() const

Getter for DataRepresentationQosPolicy

Returns:

DataRepresentationQosPolicy reference

inline DataRepresentationQosPolicy &representation()

Getter for DataRepresentationQosPolicy

Returns:

DataRepresentationQosPolicy reference

inline void representation(const DataRepresentationQosPolicy &representation)

Setter for DataRepresentationQosPolicy

Parameters:

representation – new value for the DataRepresentationQosPolicy

const TopicQos eprosima::fastdds::dds::TOPIC_QOS_DEFAULT