RTI Connext Traditional C++ API  Version 6.1.0
DDS_TopicQos Struct Reference

QoS policies supported by a DDSTopic entity. More...

Public Member Functions

bool operator== (const DDS_TopicQos &r) const
 Compares two TopicQos objects for equality. More...
 
bool operator!= (const DDS_TopicQos &r) const
 Compares two TopicQos objects for inequality. More...
 
DDS_ReturnCode_t print () const
 Prints this DDS_TopicQos to stdout. More...
 
DDS_ReturnCode_t to_string (char *string, DDS_UnsignedLong &string_size) const
 Obtains a string representation of this DDS_TopicQos. More...
 
DDS_ReturnCode_t to_string (char *string, DDS_UnsignedLong &string_size, const DDS_TopicQos &base) const
 Obtains a string representation of this DDS_TopicQos. More...
 
DDS_ReturnCode_t to_string (char *string, DDS_UnsignedLong &string_size, const DDS_QosPrintFormat &format) const
 Obtains a string representation of this DDS_TopicQos. More...
 
DDS_ReturnCode_t to_string (char *string, DDS_UnsignedLong &string_size, const DDS_TopicQos &base, const DDS_QosPrintFormat &format) const
 Obtains a string representation of this DDS_TopicQos. More...
 
DDS_ReturnCode_t to_string (char *string, DDS_UnsignedLong &string_size, const DDS_QosPrintAll_t &) const
 Obtains a string representation of this DDS_TopicQos. More...
 
DDS_ReturnCode_t to_string (char *string, DDS_UnsignedLong &string_size, const DDS_QosPrintAll_t &, const DDS_QosPrintFormat &format) const
 Obtains a string representation of this DDS_TopicQos. More...
 

Public Attributes

struct DDS_TopicDataQosPolicy topic_data
 Topic data policy, TOPIC_DATA. More...
 
struct DDS_DurabilityQosPolicy durability
 Durability policy, DURABILITY. More...
 
struct DDS_DurabilityServiceQosPolicy durability_service
 DurabilityService policy, DURABILITY_SERVICE. More...
 
struct DDS_DeadlineQosPolicy deadline
 Deadline policy, DEADLINE. More...
 
struct DDS_LatencyBudgetQosPolicy latency_budget
 Latency budget policy, LATENCY_BUDGET. More...
 
struct DDS_LivelinessQosPolicy liveliness
 Liveliness policy, LIVELINESS. More...
 
struct DDS_ReliabilityQosPolicy reliability
 Reliability policy, RELIABILITY. More...
 
struct DDS_DestinationOrderQosPolicy destination_order
 Destination order policy, DESTINATION_ORDER. More...
 
struct DDS_HistoryQosPolicy history
 History policy, HISTORY. More...
 
struct DDS_ResourceLimitsQosPolicy resource_limits
 Resource limits policy, RESOURCE_LIMITS. More...
 
struct DDS_TransportPriorityQosPolicy transport_priority
 Transport priority policy, TRANSPORT_PRIORITY. More...
 
struct DDS_LifespanQosPolicy lifespan
 Lifespan policy, LIFESPAN. More...
 
struct DDS_OwnershipQosPolicy ownership
 Ownership policy, OWNERSHIP. More...
 
struct DDS_DataRepresentationQosPolicy representation
 Data representation policy, DATA_REPRESENTATION. More...
 

Detailed Description

QoS policies supported by a DDSTopic entity.

You must set certain members in a consistent manner:

length of DDS_TopicQos::topic_data .value <= DDS_DomainParticipantQos::resource_limits .topic_data_max_length

If any of the above are not true, DDSTopic::set_qos, DDSTopic::set_qos_with_profile and DDSDomainParticipant::set_default_topic_qos will fail with DDS_RETCODE_INCONSISTENT_POLICY and DDSDomainParticipant::create_topic will return NULL.

Entity:
DDSTopic
See also
QoS Policies allowed ranges within each Qos.

Member Function Documentation

◆ operator==()

bool DDS_TopicQos::operator== ( const DDS_TopicQos r) const
inline

Compares two TopicQos objects for equality.

See also
DDS_TopicQos_equals

References DDS_TopicQos_equals().

◆ operator!=()

bool DDS_TopicQos::operator!= ( const DDS_TopicQos r) const
inline

Compares two TopicQos objects for inequality.

See also
DDS_TopicQos_equals

References DDS_TopicQos_equals().

Member Data Documentation

◆ topic_data

struct DDS_TopicDataQosPolicy DDS_TopicQos::topic_data

Topic data policy, TOPIC_DATA.

◆ durability

struct DDS_DurabilityQosPolicy DDS_TopicQos::durability

Durability policy, DURABILITY.

◆ durability_service

struct DDS_DurabilityServiceQosPolicy DDS_TopicQos::durability_service

DurabilityService policy, DURABILITY_SERVICE.

◆ deadline

struct DDS_DeadlineQosPolicy DDS_TopicQos::deadline

Deadline policy, DEADLINE.

◆ latency_budget

struct DDS_LatencyBudgetQosPolicy DDS_TopicQos::latency_budget

Latency budget policy, LATENCY_BUDGET.

◆ liveliness

struct DDS_LivelinessQosPolicy DDS_TopicQos::liveliness

Liveliness policy, LIVELINESS.

◆ reliability

struct DDS_ReliabilityQosPolicy DDS_TopicQos::reliability

Reliability policy, RELIABILITY.

◆ destination_order

struct DDS_DestinationOrderQosPolicy DDS_TopicQos::destination_order

Destination order policy, DESTINATION_ORDER.

◆ history

struct DDS_HistoryQosPolicy DDS_TopicQos::history

History policy, HISTORY.

◆ resource_limits

struct DDS_ResourceLimitsQosPolicy DDS_TopicQos::resource_limits

Resource limits policy, RESOURCE_LIMITS.

◆ transport_priority

struct DDS_TransportPriorityQosPolicy DDS_TopicQos::transport_priority

Transport priority policy, TRANSPORT_PRIORITY.

◆ lifespan

struct DDS_LifespanQosPolicy DDS_TopicQos::lifespan

Lifespan policy, LIFESPAN.

◆ ownership

struct DDS_OwnershipQosPolicy DDS_TopicQos::ownership

Ownership policy, OWNERSHIP.

◆ representation

struct DDS_DataRepresentationQosPolicy DDS_TopicQos::representation

Data representation policy, DATA_REPRESENTATION.