RTI Connext C# API Version 7.3.0
|
Configures the allocation policy of a resource. More...
Inherits IEquatable< AllocationSettings >.
Public Member Functions | |
AllocationSettings (int initial=Automatic, int max=Automatic, int incremental=Automatic) | |
Creates a new AllocationSettings More... | |
AllocationSettings | With (Action< AllocationSettingsBuilder > build) |
Creates a new AllocationSettings with a set of changes specified in an Action More... | |
override bool | Equals (object other) |
Compares for equality. More... | |
override int | GetHashCode () |
Gets the hash code. More... | |
bool | Equals (AllocationSettings other) |
Compares for equality. More... | |
Static Public Attributes | |
const int | Unlimited = LengthUnlimited.Value |
Special value for MaxCount indicating no upper limit. More... | |
const int | Automatic = -2 |
Special value for InitialCount, MaxCount, or IncrementalCount indicating that the actual value will be automatically determined. More... | |
Properties | |
int | InitialCount [get] |
The initial count of resources. More... | |
int | MaxCount [get] |
The maximum count of resources. More... | |
int | IncrementalCount [get] |
The incremental count of resources. More... | |
static AllocationSettings | Default = new AllocationSettings() [get] |
Singleton containing the default value of a AllocationSettings More... | |
Configures the allocation policy of a resource.
|
inline |
Creates a new AllocationSettings
initial | The value for InitialCount |
max | The value for MaxCount |
incremental | The value for IncrementalCount |
|
inline |
Creates a new AllocationSettings with a set of changes specified in an Action
build | An Action (typically a lambda function) that receives a modifiable object with the values of this AllocationSettings. |
override bool Rti.Dds.Core.Policy.AllocationSettings.Equals | ( | object | other | ) |
Compares for equality.
|
inline |
Gets the hash code.
|
inline |
Compares for equality.
|
static |
Special value for MaxCount indicating no upper limit.
|
static |
Special value for InitialCount, MaxCount, or IncrementalCount indicating that the actual value will be automatically determined.
|
get |
The initial count of resources.
The full documentation is available in the C API: DDS_AllocationSettings_t_initial_count
|
get |
The maximum count of resources.
The full documentation is available in the C API: DDS_AllocationSettings_t_max_count
|
get |
The incremental count of resources.
The full documentation is available in the C API: DDS_AllocationSettings_t_incremental_count
|
staticget |
Singleton containing the default value of a AllocationSettings