RTI Connext C++ API  Version 5.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.
 
bool operator!= (const DDS_TopicQos &r) const
 Compares two TopicQos objects for inequality.
 

Public Attributes

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

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

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

Compares two TopicQos objects for equality.

See Also
DDS_TopicQos_equals
bool DDS_TopicQos::operator!= ( const DDS_TopicQos r) const
inline

Compares two TopicQos objects for inequality.

See Also
DDS_TopicQos_equals

Member Data Documentation

struct DDS_TopicDataQosPolicy DDS_TopicQos::topic_data

Topic data policy, TOPIC_DATA.

struct DDS_DurabilityQosPolicy DDS_TopicQos::durability

Durability policy, DURABILITY.

struct DDS_DurabilityServiceQosPolicy DDS_TopicQos::durability_service

DurabilityService policy, DURABILITY_SERVICE.

struct DDS_DeadlineQosPolicy DDS_TopicQos::deadline

Deadline policy, DEADLINE.

struct DDS_LatencyBudgetQosPolicy DDS_TopicQos::latency_budget

Latency budget policy, LATENCY_BUDGET.

struct DDS_LivelinessQosPolicy DDS_TopicQos::liveliness

Liveliness policy, LIVELINESS.

struct DDS_ReliabilityQosPolicy DDS_TopicQos::reliability

Reliability policy, RELIABILITY.

struct DDS_DestinationOrderQosPolicy DDS_TopicQos::destination_order

Destination order policy, DESTINATION_ORDER.

struct DDS_HistoryQosPolicy DDS_TopicQos::history

History policy, HISTORY.

struct DDS_ResourceLimitsQosPolicy DDS_TopicQos::resource_limits

Resource limits policy, RESOURCE_LIMITS.

struct DDS_TransportPriorityQosPolicy DDS_TopicQos::transport_priority

Transport priority policy, TRANSPORT_PRIORITY.

struct DDS_LifespanQosPolicy DDS_TopicQos::lifespan

Lifespan policy, LIFESPAN.

struct DDS_OwnershipQosPolicy DDS_TopicQos::ownership

Ownership policy, OWNERSHIP.


RTI Connext C++ API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc