RTI Connext DDS Micro C++ API  Version 3.0.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups
max_samples
NAME
DDS_ResourceLimitsQosPolicy::max_samples
DESCRIPTION
The DDS_ResourceLimitsQosPolicy::max_samples resource-limit 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 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 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 3.0.0 Copyright © Fri Mar 22 2019 Real-Time Innovations, Inc