RTI Connext C# API  7.1.0
SystemResourceLimits Class Reference

Configures DomainParticipant-independent resources used by RTI Connext. Mainly used to change the maximum number of DomainParticipant entities that can be created within a single process (address space). More...

Inherits IEquatable< SystemResourceLimits >.

Public Member Functions

 SystemResourceLimits (int maxObjectsPerThread)
 Creates a new SystemResourceLimits instance. More...
 
 SystemResourceLimits (int maxObjectsPerThread, int initialObjectsPerThread)
 Creates a new SystemResourceLimits instance. More...
 
SystemResourceLimits With (Action< SystemResourceLimitsBuilder > build)
 Creates a new SystemResourceLimits 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 (SystemResourceLimits other)
 Compares for equality More...
 

Properties

int MaxObjectsPerThread [get]
 Gets the value of MaxObjectsPerThread More...
 
int InitialObjectsPerThread [get]
 Gets the value of InitialObjectsPerThread More...
 
static SystemResourceLimits Default [get]
 Singleton containing the default value of a SystemResourceLimits More...
 

Detailed Description

Configures DomainParticipant-independent resources used by RTI Connext. Mainly used to change the maximum number of DomainParticipant entities that can be created within a single process (address space).

The full documentation is available in the C API: DDS_SystemResourceLimitsQosPolicy

Constructor & Destructor Documentation

◆ SystemResourceLimits() [1/2]

SystemResourceLimits ( int  maxObjectsPerThread)

Creates a new SystemResourceLimits instance.

◆ SystemResourceLimits() [2/2]

SystemResourceLimits ( int  maxObjectsPerThread,
int  initialObjectsPerThread 
)

Creates a new SystemResourceLimits instance.

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Equals ( SystemResourceLimits  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

Creates a new SystemResourceLimits with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the values of this SystemResourceLimits.
Returns
A new SystemResourceLimits with the changes applied by the Action

Property Documentation

◆ Default

SystemResourceLimits Default
staticget

Singleton containing the default value of a SystemResourceLimits

◆ InitialObjectsPerThread

int InitialObjectsPerThread
get

Gets the value of InitialObjectsPerThread

The full documentation is available in the C API: DDS_SystemResourceLimitsQosPolicy::initial_objects_per_thread

◆ MaxObjectsPerThread

int MaxObjectsPerThread
get

Gets the value of MaxObjectsPerThread

The full documentation is available in the C API: DDS_SystemResourceLimitsQosPolicy::max_objects_per_thread