RTI Connext C# API
6.1.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 |
Special value for MaxCount indicating no upper limit. More... | |
const int | Automatic |
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 [get] |
Singleton containing the default value of a AllocationSettings More... | |
Configures the allocation policy of a resource.
AllocationSettings | ( | int | initial = Automatic , |
int | max = Automatic , |
||
int | incremental = Automatic |
||
) |
Creates a new AllocationSettings
initial | The value for InitialCount |
max | The value for MaxCount |
incremental | The value for IncrementalCount |
bool Equals | ( | AllocationSettings | other | ) |
Compares for equality.
override bool Equals | ( | object | other | ) |
Compares for equality.
override int GetHashCode | ( | ) |
Gets the hash code.
AllocationSettings With | ( | Action< AllocationSettingsBuilder > | build | ) |
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. |
|
static |
Special value for InitialCount, MaxCount, or IncrementalCount indicating that the actual value will be automatically determined.
|
static |
Special value for MaxCount indicating no upper limit.
|
staticget |
Singleton containing the default value of a AllocationSettings
|
get |
The incremental count of resources.
The full documentation is available in the C API: DDS_AllocationSettings_t::incremental_count
|
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