RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.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 = new SystemResourceLimits(261120, 1024) [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]

Rti.Dds.Core.Policy.SystemResourceLimits.SystemResourceLimits ( int  maxObjectsPerThread)
inline

Creates a new SystemResourceLimits instance.

◆ SystemResourceLimits() [2/2]

Rti.Dds.Core.Policy.SystemResourceLimits.SystemResourceLimits ( int  maxObjectsPerThread,
int  initialObjectsPerThread 
)
inline

Creates a new SystemResourceLimits instance.

Member Function Documentation

◆ With()

SystemResourceLimits Rti.Dds.Core.Policy.SystemResourceLimits.With ( Action< SystemResourceLimitsBuilder build)
inline

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

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.SystemResourceLimits.Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int Rti.Dds.Core.Policy.SystemResourceLimits.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.SystemResourceLimits.Equals ( SystemResourceLimits  other)
inline

Compares for equality

Property Documentation

◆ MaxObjectsPerThread

int Rti.Dds.Core.Policy.SystemResourceLimits.MaxObjectsPerThread
get

Gets the value of MaxObjectsPerThread

The full documentation is available in the C API: DDS_SystemResourceLimitsQosPolicy_max_objects_per_thread

◆ InitialObjectsPerThread

int Rti.Dds.Core.Policy.SystemResourceLimits.InitialObjectsPerThread
get

Gets the value of InitialObjectsPerThread

The full documentation is available in the C API: DDS_SystemResourceLimitsQosPolicy_initial_objects_per_thread

◆ Default

SystemResourceLimits Rti.Dds.Core.Policy.SystemResourceLimits.Default = new SystemResourceLimits(261120, 1024)
staticget

Singleton containing the default value of a SystemResourceLimits