14.1.5.5. TopicQos

class eprosima::fastdds::dds::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.

const TopicDataQosPolicy &topic_data() const

Getter for TopicDataQosPolicy

Return

TopicDataQos reference

TopicDataQosPolicy &topic_data()

Getter for TopicDataQosPolicy

Return

TopicDataQos reference

void topic_data(const TopicDataQosPolicy &value)

Setter for TopicDataQosPolicy

Parameters

const DurabilityQosPolicy &durability() const

Getter for DurabilityQosPolicy

Return

DurabilityQos reference

DurabilityQosPolicy &durability()

Getter for DurabilityQosPolicy

Return

DurabilityQos reference

void durability(const DurabilityQosPolicy &durability)

Setter for DurabilityQosPolicy

Parameters

const DurabilityServiceQosPolicy &durability_service() const

Getter for DurabilityServiceQosPolicy

Return

DurabilityServiceQos reference

DurabilityServiceQosPolicy &durability_service()

Getter for DurabilityServiceQosPolicy

Return

DurabilityServiceQos reference

void durability_service(const DurabilityServiceQosPolicy &durability_service)

Setter for DurabilityServiceQosPolicy

Parameters

const DeadlineQosPolicy &deadline() const

Getter for DeadlineQosPolicy

Return

DeadlineQos reference

DeadlineQosPolicy &deadline()

Getter for DeadlineQosPolicy

Return

DeadlineQos reference

void deadline(const DeadlineQosPolicy &deadline)

Setter for DeadlineQosPolicy

Parameters

const LatencyBudgetQosPolicy &latency_budget() const

Getter for LatencyBudgetQosPolicy

Return

LatencyBudgetQos reference

LatencyBudgetQosPolicy &latency_budget()

Getter for LatencyBudgetQosPolicy

Return

LatencyBudgetQos reference

void latency_budget(const LatencyBudgetQosPolicy &latency_budget)

Setter for LatencyBudgetQosPolicy

Parameters

const LivelinessQosPolicy &liveliness() const

Getter for LivelinessQosPolicy

Return

LivelinessQos reference

LivelinessQosPolicy &liveliness()

Getter for LivelinessQosPolicy

Return

LivelinessQos reference

void liveliness(const LivelinessQosPolicy &liveliness)

Setter for LivelinessQosPolicy

Parameters

const ReliabilityQosPolicy &reliability() const

Getter for ReliabilityQosPolicy

Return

ReliabilityQos reference

ReliabilityQosPolicy &reliability()

Getter for ReliabilityQosPolicy

Return

ReliabilityQos reference

void reliability(const ReliabilityQosPolicy &reliability)

Setter for ReliabilityQosPolicy

Parameters

const DestinationOrderQosPolicy &destination_order() const

Getter for DestinationOrderQosPolicy

Return

DestinationOrderQos reference

DestinationOrderQosPolicy &destination_order()

Getter for DestinationOrderQosPolicy

Return

DestinationOrderQos reference

void destination_order(const DestinationOrderQosPolicy &destination_order)

Setter for DestinationOrderQosPolicy

Parameters

const HistoryQosPolicy &history() const

Getter for HistoryQosPolicy

Return

HistoryQos reference

HistoryQosPolicy &history()

Getter for HistoryQosPolicy

Return

HistoryQos reference

void history(const HistoryQosPolicy &history)

Setter for HistoryQosPolicy

Parameters

const ResourceLimitsQosPolicy &resource_limits() const

Getter for ResourceLimitsQosPolicy

Return

ResourceLimitsQos reference

ResourceLimitsQosPolicy &resource_limits()

Getter for ResourceLimitsQosPolicy

Return

ResourceLimitsQos reference

void resource_limits(const ResourceLimitsQosPolicy &resource_limits)

Setter for ResourceLimitsQosPolicy

Parameters

const TransportPriorityQosPolicy &transport_priority() const

Getter for TransportPriorityQosPolicy

Return

TransportPriorityQos reference

TransportPriorityQosPolicy &transport_priority()

Getter for TransportPriorityQosPolicy

Return

TransportPriorityQos reference

void transport_priority(const TransportPriorityQosPolicy &transport_priority)

Setter for TransportPriorityQosPolicy

Parameters

const LifespanQosPolicy &lifespan() const

Getter for LifespanQosPolicy

Return

LifespanQos reference

LifespanQosPolicy &lifespan()

Getter for LifespanQosPolicy

Return

LifespanQos reference

void lifespan(const LifespanQosPolicy &lifespan)

Setter for LifespanQosPolicy

Parameters

const OwnershipQosPolicy &ownership() const

Getter for OwnershipQosPolicy

Return

OwnershipQos reference

OwnershipQosPolicy &ownership()

Getter for OwnershipQosPolicy

Return

OwnershipQos reference

void ownership(const OwnershipQosPolicy &ownership)

Setter for OwnershipQosPolicy

Parameters

const DataRepresentationQosPolicy &representation() const

Getter for DataRepresentationQosPolicy

Return

DataRepresentationQosPolicy reference

DataRepresentationQosPolicy &representation()

Getter for DataRepresentationQosPolicy

Return

DataRepresentationQosPolicy reference

void representation(const DataRepresentationQosPolicy &representation)

Setter for DataRepresentationQosPolicy

Parameters

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