Class ReaderResourceLimitsQos

Class Documentation

class ReaderResourceLimitsQos

Qos Policy to configure the limit of the reader resources.

Public Functions

RTPS_DllAPI ReaderResourceLimitsQos() = default

Constructor.

virtual RTPS_DllAPI ~ReaderResourceLimitsQos() = default

Destructor.

inline bool operator==(const ReaderResourceLimitsQos &b) const
inline void clear()

Public Members

fastrtps::ResourceLimitedContainerConfig matched_publisher_allocation

Matched publishers allocation limits.

fastrtps::ResourceLimitedContainerConfig sample_infos_allocation = {32u}

SampleInfo allocation limits.

fastrtps::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.

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.