RTI Connext DDS Micro C++ API  Version 4.0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
max_samples
NAME
DDS_ResourceLimitsQosPolicy::max_samples
DESCRIPTION
DDS_ResourceLimitsQosPolicy::max_samples limits the maximum number of samples a DDSDataWriter can allocate and maintain state for at any given time. Every time a write operation is called, a sample is allocated from the cache and filled in with user-data.
A sample allocated from the pool controlled by this resource-limit can be reused based on the following rules:
NOTES
For best-effort communication this resource-limit can be set to 1.
For reliable communication the value of this resource-limit determines the maximum number of samples a DDSDataWriter can keep in unacknowledged state before reusing potentially unacknowledged samples (for DDS_KEEP_LAST_HISTORY_QOS). For reliable data the value should take into account the data-rate, the DDS_RtpsReliableWriterProtocol_t::heartbeat_period and DDS_RtpsReliableWriterProtocol_t::heartbeats_per_max_samples.

RTI Connext DDS Micro C++ API Version 4.0.1 Copyright © Mon Jun 3 2024 Real-Time Innovations, Inc