RTI Connext Modern C++ API
Version 5.3.1
|
<<extension>> Resource allocation settings More...
#include <rti/core/AllocationSettings.hpp>
Public Member Functions | |
AllocationSettings () | |
Creates an instance with an initial, max and incremental count set to zero. | |
AllocationSettings (int32_t the_initial_count, int32_t the_max_count, int32_t the_incremental_count) | |
Creates an instance with the given initial, maximum and incremental values. | |
int32_t | initial_count () const |
Getter (see setter with the same name) | |
AllocationSettings & | initial_count (int32_t the_initial_count) |
Sets the initial count of resources. | |
int32_t | max_count () const |
Getter (see setter with the same name) | |
AllocationSettings & | max_count (int32_t the_max_count) |
Sets the maximum count of resources. | |
int32_t | incremental_count () const |
Getter (see setter with the same name) | |
AllocationSettings & | incremental_count (int32_t the_incremental_count) |
Sets the incremental count of resources. | |
<<extension>> Resource allocation settings
|
inline |
Creates an instance with an initial, max and incremental count set to zero.
|
inline |
Creates an instance with the given initial, maximum and incremental values.
|
inline |
Getter (see setter with the same name)
|
inline |
Sets the initial count of resources.
The initial resources to be allocated.
[default] It depends on the case.
[range] [0, 1 million], < max_count, (or = max_count only if increment_count == 0)
|
inline |
Getter (see setter with the same name)
|
inline |
Sets the maximum count of resources.
The maximum resources to be allocated.
[default] Depends on the case.
[range] [1, 1 million] or dds::core::LENGTH_UNLIMITED, > initial_count (or = initial_count only if increment_count == 0)
|
inline |
Getter (see setter with the same name)
|
inline |
Sets the incremental count of resources.
The resource to be allocated when more resources are needed.
[default] Depends on the case.
[range] -1 (Double the amount of extra memory allocated each time memory is needed) or [1,1 million] (or = 0 only if initial_count == max_count)