RTI Connext DDS Micro C API  Version 3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
max_samples_per_instance
NAME
DDS_ResourceLimitsQosPolicy::max_samples_per_instance
DESCRIPTION
This resource-limit limits the maximum number of samples that can be cached for a single instance and must be less than or equal to max_samples and greater or equal to the DDS_HistoryQosPolicy::depth.
DDS_HistoryQosPolicy::depth determines how many samples are kept in case of DDS_TRANSIENT_LOCAL_DURABILITY_QOS durability and made available to late joining DDS_DataReader, while DDS_ResourceLimitsQosPolicy::max_samples_per_instance is the maximum number of unacknowledged samples the DDS_DataWriter can keep per instance. Thus, if max_samples_per_instance > depth it is possible to keep unacknowledged samples while limiting the number of samples made available to late joining datareaders.

RTI Connext DDS Micro C API Version 3.0.0 Copyright © Fri Mar 22 2019 Real-Time Innovations, Inc