RTI Connext Modern C++ API
Version 5.2.3
|
Allocation settings used by various internal buffers. More...
Allocation settings used by various internal buffers.
An allocation setting structure defines the rules of memory management used by internal buffers.
An internal buffer can provide blocks of memory of fixed size. They are used in several places of any transport, and this structure defines its starting size, limits, and how to increase its capacity.
It contains three values:
initial_count: the number of individual elements that are allocated when the buffer is created.
max_count: the maximum number of elements the buffer can hold. The buffer will grow up to this amount. After this limit is reached, new allocation requests will fail. For unlimited size, use the value NDDS_TRANSPORT_ALLOCATION_SETTINGS_MAX_COUNT_UNLIMITED