#include <managed_publication.h>
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, DDS::DataWriter::set_qos and DDS::DataWriter::set_qos_with_profile and DDS::Publisher::set_default_datawriter_qos and DDS::Publisher::set_default_datawriter_qos_with_profile will fail with DDS::Retcode_InconsistentPolicy and DDS::Publisher::create_datawriter and DDS::Publisher::create_datawriter_with_profile and will return NULL.
Durability policy, DURABILITY.
DurabilityService policy, DURABILITY_SERVICE.
Deadline policy, DEADLINE.
Latency budget policy, LATENCY_BUDGET.
Liveliness policy, LIVELINESS.
Reliability policy, RELIABILITY.
Destination order policy, DESTINATION_ORDER.
History policy, HISTORY.
Resource limits policy, RESOURCE_LIMITS.
Transport priority policy, TRANSPORT_PRIORITY.
Lifespan policy, LIFESPAN.
User data policy, USER_DATA.
Ownership policy, OWNERSHIP.
Ownership strength policy, OWNERSHIP_STRENGTH.
Writer data lifecycle policy, WRITER_DATA_LIFECYCLE.
<<eXtension>> DDS::DataWriter protocol policy, DATA_WRITER_PROTOCOL
<<eXtension>> DDS::DataWriter protocol policy, DATA_WRITER_PROTOCOL
<<eXtension>> Transport plugin selection policy, TRANSPORT_SELECTION.
Specifies the transports available for use by the DDS::DataWriter.
<<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 DDS::DataReader entities in the domain.
<<eXtension>> Publish mode policy, PUBLISH_MODE.
Determines whether the DDS::DataWriter publishes data synchronously or asynchronously and how.
<<eXtension>> Property policy, PROPERTY.
<<eXtension>> Batch policy, BATCH.
<<eXtension>> Multi channel policy, MULTICHANNEL.
<<eXtension>> EntityName policy, ENTITY_NAME.
<<eXtension>> Type support data, TYPESUPPORT.
Optional value that is passed to a type plugin's on_endpoint_attached and serialization functions.