19#ifndef FASTDDS_RTPS_ATTRIBUTES__RTPSPARTICIPANTALLOCATIONATTRIBUTES_HPP
20#define FASTDDS_RTPS_ATTRIBUTES__RTPSPARTICIPANTALLOCATIONATTRIBUTES_HPP
22#include <fastdds/rtps/builtin/data/ContentFilterProperty.hpp>
24#include <fastdds/utils/collections/ResourceLimitedContainerConfig.hpp>
98 std::numeric_limits<size_t>::max dummy_avoid_winmax (), 16u);
148 return total_endpoints(
readers);
154 return total_endpoints(
writers);
160 return (this->locators == b.
locators) &&
162 (this->readers == b.
readers) &&
163 (this->writers == b.
writers) &&
173 constexpr size_t max = (std::numeric_limits<size_t>::max)();
183 return { initial, maximum, increment };
const RTPSParticipantAllocationAttributes c_default_RTPSParticipantAllocationAttributes
Definition RTPSParticipantAllocationAttributes.hpp:189
Specifies the configuration of a resource limited collection.
Definition ResourceLimitedContainerConfig.hpp:36
size_t increment
Number of items to add when capacity limit is reached.
Definition ResourceLimitedContainerConfig.hpp:53
size_t maximum
Maximum number of elements allowed in the collection.
Definition ResourceLimitedContainerConfig.hpp:51
size_t initial
Number of elements to be preallocated in the collection.
Definition ResourceLimitedContainerConfig.hpp:49
Allocation configuration for a ContentFilterProperty.
Definition ContentFilterProperty.hpp:43
Holds allocation limits affecting collections managed by a participant.
Definition RTPSParticipantAllocationAttributes.hpp:129
fastdds::rtps::ContentFilterProperty::AllocationConfiguration content_filter
Defines the allocation behavior of content filter discovery information.
Definition RTPSParticipantAllocationAttributes.hpp:143
ResourceLimitedContainerConfig participants
Defines the allocation behaviour for collections dependent on the total number of participants.
Definition RTPSParticipantAllocationAttributes.hpp:133
RemoteLocatorsAllocationAttributes locators
Holds limits for collections of remote locators.
Definition RTPSParticipantAllocationAttributes.hpp:131
ResourceLimitedContainerConfig writers
Defines the allocation behaviour for collections dependent on the total number of writers per partici...
Definition RTPSParticipantAllocationAttributes.hpp:137
ResourceLimitedContainerConfig total_readers() const
Definition RTPSParticipantAllocationAttributes.hpp:146
VariableLengthDataLimits data_limits
Holds limits for variable-length data.
Definition RTPSParticipantAllocationAttributes.hpp:141
bool operator==(const RTPSParticipantAllocationAttributes &b) const
Definition RTPSParticipantAllocationAttributes.hpp:157
ResourceLimitedContainerConfig readers
Defines the allocation behaviour for collections dependent on the total number of readers per partici...
Definition RTPSParticipantAllocationAttributes.hpp:135
ResourceLimitedContainerConfig total_writers() const
Definition RTPSParticipantAllocationAttributes.hpp:152
SendBuffersAllocationAttributes send_buffers
Defines the allocation behaviour for the send buffer manager.
Definition RTPSParticipantAllocationAttributes.hpp:139
Holds limits for collections of remote locators.
Definition RTPSParticipantAllocationAttributes.hpp:34
size_t max_multicast_locators
Maximum number of multicast locators per remote entity.
Definition RTPSParticipantAllocationAttributes.hpp:58
size_t max_unicast_locators
Maximum number of unicast locators per remote entity.
Definition RTPSParticipantAllocationAttributes.hpp:49
bool operator==(const RemoteLocatorsAllocationAttributes &b) const
Definition RTPSParticipantAllocationAttributes.hpp:35
Holds limits for send buffers allocations.
Definition RTPSParticipantAllocationAttributes.hpp:65
ResourceLimitedContainerConfig network_buffers_config
Configuration for the network buffers.
Definition RTPSParticipantAllocationAttributes.hpp:97
bool operator==(const SendBuffersAllocationAttributes &b) const
Definition RTPSParticipantAllocationAttributes.hpp:66
size_t preallocated_number
Initial number of send buffers to allocate.
Definition RTPSParticipantAllocationAttributes.hpp:81
bool dynamic
Whether the number of send buffers is allowed to grow.
Definition RTPSParticipantAllocationAttributes.hpp:89
Holds limits for variable-length data.
Definition RTPSParticipantAllocationAttributes.hpp:105
size_t max_user_data
Defines the maximum size (in octets) of user data in the local or remote participant.
Definition RTPSParticipantAllocationAttributes.hpp:118
size_t max_partitions
Defines the maximum size (in octets) of partitions data.
Definition RTPSParticipantAllocationAttributes.hpp:120
size_t max_properties
Defines the maximum size (in octets) of properties data in the local or remote participant.
Definition RTPSParticipantAllocationAttributes.hpp:116
bool operator==(const VariableLengthDataLimits &b) const
Definition RTPSParticipantAllocationAttributes.hpp:106
size_t max_datasharing_domains
Defines the maximum size (in elements) of the list of data sharing domain IDs.
Definition RTPSParticipantAllocationAttributes.hpp:122