Fast DDS  Version 3.6.1.0
Fast DDS
ReaderResourceLimitsQos.hpp
1 // Copyright 2025 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
19 #ifndef FASTDDS_DDS_CORE_POLICY__READERRESOURCELIMITSQOS_HPP
20 #define FASTDDS_DDS_CORE_POLICY__READERRESOURCELIMITSQOS_HPP
21 
22 
23 #include <fastdds/dds/core/policy/QosPolicies.hpp>
24 
25 namespace eprosima {
26 namespace fastdds {
27 namespace dds {
28 
31 {
32 public:
33 
37  FASTDDS_EXPORTED_API ReaderResourceLimitsQos() = default;
38 
42  virtual FASTDDS_EXPORTED_API ~ReaderResourceLimitsQos() = default;
43 
45  const ReaderResourceLimitsQos& b) const
46  {
47  return
52  }
53 
54  inline void clear()
55  {
57  std::swap(*this, reset);
58  }
59 
66 
77  int32_t max_samples_per_read = 32;
78 };
79 
80 } //namespace dds
81 } //namespace fastdds
82 } //namespace eprosima
83 
84 #endif // FASTDDS_DDS_CORE_POLICY__READERRESOURCELIMITSQOS_HPP
Qos Policy to configure the limit of the reader resources.
Definition: ReaderResourceLimitsQos.hpp:31
fastdds::ResourceLimitedContainerConfig outstanding_reads_allocation
Loaned collections allocation limits.
Definition: ReaderResourceLimitsQos.hpp:65
virtual FASTDDS_EXPORTED_API ~ReaderResourceLimitsQos()=default
Destructor.
fastdds::ResourceLimitedContainerConfig sample_infos_allocation
SampleInfo allocation limits.
Definition: ReaderResourceLimitsQos.hpp:63
fastdds::ResourceLimitedContainerConfig matched_publisher_allocation
Matched publishers allocation limits.
Definition: ReaderResourceLimitsQos.hpp:61
int32_t max_samples_per_read
Maximum number of samples to return on a single call to read / take.
Definition: ReaderResourceLimitsQos.hpp:77
void clear()
Definition: ReaderResourceLimitsQos.hpp:54
bool operator==(const ReaderResourceLimitsQos &b) const
Definition: ReaderResourceLimitsQos.hpp:44
FASTDDS_EXPORTED_API ReaderResourceLimitsQos()=default
Constructor.
Definition: DomainParticipant.hpp:46
Specifies the configuration of a resource limited collection.
Definition: ResourceLimitedContainerConfig.hpp:36