RTI Connext DDS Micro C API  Version 2.4.12
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
max_samples
NAME
DDS_ResourceLimitsQosPolicy::max_samples
DESCRIPTION
The DDS_ResourceLimitsQosPolicy::max_samples resource-limit limits the maximum number of samples a DDS_DataWriter 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 resourece-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 DDS_DataWriter 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 2.4.12 Copyright © Tue Feb 4 2020 Real-Time Innovations, Inc