RTI Connext C# API  7.1.0
DomainParticipantFactoryQos Class Reference

QoS policies supported by the DomainParticipantFactory. More...

Inherits IEquatable< DomainParticipantFactoryQos >.

Public Member Functions

DomainParticipantFactoryQos WithEntityFactory (EntityFactory value)
 Creates a copy of this DomainParticipantFactoryQos instance with a new value for EntityFactory More...
 
DomainParticipantFactoryQos WithResourceLimits (SystemResourceLimits policy)
 Creates an instance with a new ResourceLimits policy. More...
 
DomainParticipantFactoryQos WithResourceLimits (Action< SystemResourceLimitsBuilder > build)
 Creates a new instance with a new ResourceLimits policy as configured by a build action. More...
 
DomainParticipantFactoryQos WithMonitoring (Monitoring value)
 Creates a copy of this DomainParticipantFactoryQos instance with a new value for Monitoring More...
 
DomainParticipantFactoryQos WithMonitoring (Action< MonitoringBuilder > build)
 Creates a new instance with a new Monitoring policy as configured by a build action. More...
 
override bool Equals (object other)
 Compares all the policies for equality More...
 
override int GetHashCode ()
 Returns the hash code by combining that of each policy More...
 
bool Equals (DomainParticipantFactoryQos other)
 Compares all the policies for equality More...
 
override string ToString ()
 Returns an XML representation of the QoS object. More...
 
string ToString (QosPrintFormat format)
 Returns an XML representation of the QoS object. More...
 
string ToString (DomainParticipantFactoryQos baseQos, QosPrintFormat format=null)
 Returns an XML representation of the QoS object. More...
 
string ToString (QosPrintAll baseQos, QosPrintFormat format=null)
 Returns an XML representation of the QoS object. More...
 

Properties

EntityFactory EntityFactory [get]
 Gets the value of EntityFactory More...
 
SystemResourceLimits ResourceLimits [get]
 Gets the value of ResourceLimits More...
 
Monitoring Monitoring [get]
 Gets the value of Monitoring More...
 
static DomainParticipantFactoryQos Default [get]
 Singleton containing the default value of a DomainParticipantFactoryQos More...
 

Detailed Description

QoS policies supported by the DomainParticipantFactory.

The full documentation is available in the C API: DDS_DomainParticipantFactoryQos

Member Function Documentation

◆ Equals() [1/2]

bool Equals ( DomainParticipantFactoryQos  other)

Compares all the policies for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares all the policies for equality

◆ GetHashCode()

override int GetHashCode ( )

Returns the hash code by combining that of each policy

◆ ToString() [1/4]

override string ToString ( )

Returns an XML representation of the QoS object.

The output is formatted using the default values for the QosPrintFormat and only QoS policies which differ from the documented default are included.

◆ ToString() [2/4]

string ToString ( DomainParticipantFactoryQos  baseQos,
QosPrintFormat  format = null 
)

Returns an XML representation of the QoS object.

Parameters
baseQosThe baseQos profile.
formatthe format used to configure the output. If not supplied the output is formatted using the default format.

This overload accepts a value for the baseQos. Only the differences between the DomainParticipantFactoryQos object being printed and the baseQos are included in the output.

◆ ToString() [3/4]

string ToString ( QosPrintAll  baseQos,
QosPrintFormat  format = null 
)

Returns an XML representation of the QoS object.

Parameters
baseQosUsed to indicate that the entire QoS object should be included in the output. The only value which should be provided for this argument is QosPrintAll.Value
formatThe format used to configure the output. If not supplied, the output is formatted using the default format.

This overload accepts a parameter of type QosPrintAll. Unlike the other ToString overloads, the entire QoS object will be included in the output.

◆ ToString() [4/4]

string ToString ( QosPrintFormat  format)

Returns an XML representation of the QoS object.

Parameters
formatThe baseQos profile.

This overload accepts a value for the baseQos. Only the differences between the DomainParticipantFactoryQos object being printed and the baseQos are included in the output.

◆ WithEntityFactory()

DomainParticipantFactoryQos WithEntityFactory ( EntityFactory  value)

Creates a copy of this DomainParticipantFactoryQos instance with a new value for EntityFactory

Parameters
valueThe new value for EntityFactory
Returns
A copy with a new value for EntityFactory

◆ WithMonitoring() [1/2]

DomainParticipantFactoryQos WithMonitoring ( Action< MonitoringBuilder build)

Creates a new instance with a new Monitoring policy as configured by a build action.

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithMonitoring() [2/2]

DomainParticipantFactoryQos WithMonitoring ( Monitoring  value)

Creates a copy of this DomainParticipantFactoryQos instance with a new value for Monitoring

Parameters
valueThe new value for EntityFactory
Returns
A copy with a new value for EntityFactory

◆ WithResourceLimits() [1/2]

DomainParticipantFactoryQos WithResourceLimits ( Action< SystemResourceLimitsBuilder build)

Creates a new instance with a new ResourceLimits policy as configured by a build action.

Parameters
buildA function receiving the current values of the policy as an argument. The changes performed by this build function will be used to create the new policy
Returns
A new instance with the sames policies as the current instance, except for the policy being modified

◆ WithResourceLimits() [2/2]

DomainParticipantFactoryQos WithResourceLimits ( SystemResourceLimits  policy)

Creates an instance with a new ResourceLimits policy.

Parameters
policyThe new policy
Returns
A new instance with the same policies as the current instance, except for the one being set

Property Documentation

◆ Default

DomainParticipantFactoryQos Default
staticget

Singleton containing the default value of a DomainParticipantFactoryQos

◆ EntityFactory

Gets the value of EntityFactory

The full documentation is available in the C API: DDS_DomainParticipantFactoryQos::entity_factory

◆ Monitoring

Gets the value of Monitoring

The full documentation is available in the C API: DDS_DomainParticipantFactoryQos::monitoring

◆ ResourceLimits

Gets the value of ResourceLimits

The full documentation is available in the C API: DDS_DomainParticipantFactoryQos::resource_limits