ENTITY_FACTORY QoS Parameter

return to the Quality of Service (QoS) Parameters

The ENTITY_FACTORY policy controls the behavior of the Entity as a factory for other entities.

This policy concerns only Domain Participant (as factory for Publisher, Subscriber, and [ddsf:private:cookbook:06_append:glossary:t:topic|Topic]]), Publisher (as factory for DataWriter), and Subscriber (as factory for DataReader).

This policy is mutable. A change in the policy affects only the entities created after the change; not the previously created entities.

The setting of autoenable_created_entities to TRUE indicates that the factory create_<entity> operation will automatically invoke the enable operation each time a new Entity is created. Therefore, the Entity returned by create_<entity> will already be enabled. A setting of FALSE indicates that the Entity will not be automatically enabled. The application will need to enable it explicitly by means of the enable operation (see 2.2.2.1.1.7).

The default setting of autoenable_created_entities = TRUE means that, by default, it is not necessary to explicitly call enable on newly created entities.

Source: DDS 1.4 Spec