RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.EntityFactory Class Reference

Configures whether an Entity that acts as a factory automatically enables the entities it creates or not. More...

Public Member Functions

EntityFactory WithAutoEnableCreatedEntities (bool autoEnable)
 Returns AutoEnable if autoEnable is true, or else ManuallyEnable More...
 
override string ToString ()
 Returns a string representation More...
 

Properties

static EntityFactory AutoEnable [get]
 Automatically enable More...
 
static EntityFactory ManuallyEnable [get]
 Indicates that created entities will be enabled manually More...
 
static EntityFactory Default [get]
 Default value for this policy More...
 
bool AutoEnableCreatedEntities [get]
 Specifies whether the entity acting as a factory automatically enables the instances it creates. More...
 

Detailed Description

Configures whether an Entity that acts as a factory automatically enables the entities it creates or not.

Member Function Documentation

◆ WithAutoEnableCreatedEntities()

EntityFactory Rti.Dds.Core.Policy.EntityFactory.WithAutoEnableCreatedEntities ( bool  autoEnable)

Returns AutoEnable if autoEnable is true, or else ManuallyEnable

◆ ToString()

override string Rti.Dds.Core.Policy.EntityFactory.ToString ( )

Returns a string representation

Property Documentation

◆ AutoEnable

EntityFactory Rti.Dds.Core.Policy.EntityFactory.AutoEnable
staticget
Initial value:
=
new EntityFactory(true)

Automatically enable

◆ ManuallyEnable

EntityFactory Rti.Dds.Core.Policy.EntityFactory.ManuallyEnable
staticget
Initial value:
=
new EntityFactory(false)

Indicates that created entities will be enabled manually

◆ Default

EntityFactory Rti.Dds.Core.Policy.EntityFactory.Default
staticget

Default value for this policy

◆ AutoEnableCreatedEntities

bool Rti.Dds.Core.Policy.EntityFactory.AutoEnableCreatedEntities
get

Specifies whether the entity acting as a factory automatically enables the instances it creates.

The full documentation is available in the C API: DDS_EntityFactoryQosPolicy_autoenable_created_entities