Qos Policy to configure the limit of the reader resources. More...
#include <DataReaderQos.hpp>
Public Member Functions | |
FASTDDS_EXPORTED_API | ReaderResourceLimitsQos ()=default |
Constructor. | |
virtual FASTDDS_EXPORTED_API | ~ReaderResourceLimitsQos ()=default |
Destructor. | |
bool | operator== (const ReaderResourceLimitsQos &b) const |
void | clear () |
Public Attributes | |
fastdds::ResourceLimitedContainerConfig | matched_publisher_allocation |
Matched publishers allocation limits. | |
fastdds::ResourceLimitedContainerConfig | sample_infos_allocation { 32u } |
SampleInfo allocation limits. | |
fastdds::ResourceLimitedContainerConfig | outstanding_reads_allocation { 2u } |
Loaned collections allocation limits. | |
int32_t | max_samples_per_read = 32 |
Maximum number of samples to return on a single call to read / take. | |
Qos Policy to configure the limit of the reader resources.
|
default |
Constructor.
|
virtualdefault |
Destructor.
|
inline |
|
inline |
fastdds::ResourceLimitedContainerConfig matched_publisher_allocation |
Matched publishers allocation limits.
int32_t max_samples_per_read = 32 |
Maximum number of samples to return on a single call to read / take.
This attribute is a signed integer to be consistent with the max_samples
argument of DataReader methods, but should always have a strict positive value. Bear in mind that a big number here may cause the creation of the DataReader to fail due to pre-allocation of internal resources.
Default value: 32.
fastdds::ResourceLimitedContainerConfig outstanding_reads_allocation { 2u } |
Loaned collections allocation limits.
fastdds::ResourceLimitedContainerConfig sample_infos_allocation { 32u } |
SampleInfo allocation limits.