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.
struct DDS_TopicDataQosPolicy DDS_TopicQos::topic_data [read] |
Topic data policy, TOPIC_DATA.
struct DDS_DurabilityQosPolicy DDS_TopicQos::durability [read] |
Durability policy, DURABILITY.
DurabilityService policy, DURABILITY_SERVICE.
struct DDS_DeadlineQosPolicy DDS_TopicQos::deadline [read] |
Deadline policy, DEADLINE.
struct DDS_LatencyBudgetQosPolicy DDS_TopicQos::latency_budget [read] |
Latency budget policy, LATENCY_BUDGET.
struct DDS_LivelinessQosPolicy DDS_TopicQos::liveliness [read] |
Liveliness policy, LIVELINESS.
struct DDS_ReliabilityQosPolicy DDS_TopicQos::reliability [read] |
Reliability policy, RELIABILITY.
struct DDS_DestinationOrderQosPolicy DDS_TopicQos::destination_order [read] |
Destination order policy, DESTINATION_ORDER.
struct DDS_HistoryQosPolicy DDS_TopicQos::history [read] |
History policy, HISTORY.
struct DDS_ResourceLimitsQosPolicy DDS_TopicQos::resource_limits [read] |
Resource limits policy, RESOURCE_LIMITS.
Transport priority policy, TRANSPORT_PRIORITY.
struct DDS_LifespanQosPolicy DDS_TopicQos::lifespan [read] |
Lifespan policy, LIFESPAN.
struct DDS_OwnershipQosPolicy DDS_TopicQos::ownership [read] |
Ownership policy, OWNERSHIP.