You must set certain members in a consistent manner:
- DDS_DataWriterQos::history.depth <= DDS_DataWriterQos::resource_limits.max_samples_per_instance
- DDS_DataWriterQos::resource_limits.max_samples_per_instance <= DDS_DataWriterQos::resource_limits.max_samples
- DDS_DataWriterQos::resource_limits.initial_samples <= DDS_DataWriterQos::resource_limits.max_samples
- DDS_DataWriterQos::resource_limits.initial_instances <= DDS_DataWriterQos::resource_limits.max_instances
- length of DDS_DataWriterQos::user_data.value <= DDS_DomainParticipantQos::resource_limits .writer_user_data_max_length
If any of the above are not true, DDSDataWriter::set_qos and DDSDataWriter::set_qos_with_profile and DDSPublisher::set_default_datawriter_qos and DDSPublisher::set_default_datawriter_qos_with_profile will fail with DDS_RETCODE_INCONSISTENT_POLICY and DDSPublisher::create_datawriter and DDSPublisher::create_datawriter_with_profile and will return NULL.
struct DDS_DurabilityQosPolicy DDS_DataWriterQos::durability [read] |
Durability policy, DURABILITY.
DurabilityService policy, DURABILITY_SERVICE.
struct DDS_DeadlineQosPolicy DDS_DataWriterQos::deadline [read] |
Deadline policy, DEADLINE.
struct DDS_LatencyBudgetQosPolicy DDS_DataWriterQos::latency_budget [read] |
Latency budget policy, LATENCY_BUDGET.
struct DDS_LivelinessQosPolicy DDS_DataWriterQos::liveliness [read] |
Liveliness policy, LIVELINESS.
struct DDS_ReliabilityQosPolicy DDS_DataWriterQos::reliability [read] |
Reliability policy, RELIABILITY.
Destination order policy, DESTINATION_ORDER.
struct DDS_HistoryQosPolicy DDS_DataWriterQos::history [read] |
History policy, HISTORY.
Resource limits policy, RESOURCE_LIMITS.
Transport priority policy, TRANSPORT_PRIORITY.
struct DDS_LifespanQosPolicy DDS_DataWriterQos::lifespan [read] |
Lifespan policy, LIFESPAN.
struct DDS_UserDataQosPolicy DDS_DataWriterQos::user_data [read] |
User data policy, USER_DATA.
struct DDS_OwnershipQosPolicy DDS_DataWriterQos::ownership [read] |
Ownership policy, OWNERSHIP.
Ownership strength policy, OWNERSHIP_STRENGTH.
Writer data lifecycle policy, WRITER_DATA_LIFECYCLE.
<<eXtension>> Writer resource limits policy, DATA_WRITER_RESOURCE_LIMITS.
struct DDS_DataWriterProtocolQosPolicy DDS_DataWriterQos::protocol [read] |
<<eXtension>> DDSDataWriter protocol policy, DATA_WRITER_PROTOCOL
<<eXtension>> Transport plugin selection policy, TRANSPORT_SELECTION.
Specifies the transports available for use by the DDSDataWriter.
struct DDS_TransportUnicastQosPolicy DDS_DataWriterQos::unicast [read] |
<<eXtension>> Unicast transport policy, TRANSPORT_UNICAST.
Specifies the unicast transport interfaces and ports on which messages can be received.
The unicast interfaces are used to receive messages from DDSDataReader entities in the domain.
struct DDS_PublishModeQosPolicy DDS_DataWriterQos::publish_mode [read] |
<<eXtension>> Publish mode policy, PUBLISH_MODE.
Determines whether the DDSDataWriter publishes data synchronously or asynchronously and how.
struct DDS_PropertyQosPolicy DDS_DataWriterQos::property [read] |
<<eXtension>> Property policy, PROPERTY.
struct DDS_BatchQosPolicy DDS_DataWriterQos::batch [read] |
<<eXtension>> Batch policy, BATCH.
struct DDS_MultiChannelQosPolicy DDS_DataWriterQos::multi_channel [read] |
<<eXtension>> Multi channel policy, MULTICHANNEL.
struct DDS_EntityNameQosPolicy DDS_DataWriterQos::publication_name [read] |
<<eXtension>> EntityName policy, ENTITY_NAME.
struct DDS_TypeSupportQosPolicy DDS_DataWriterQos::type_support [read] |
<<eXtension>> Type support data, TYPESUPPORT.
Optional value that is passed to a type plugin's on_endpoint_attached and serialization functions.