This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ddsf:public:guidebook:06_append:02_quality_of_service:entity_factory [2021/07/14 15:43] murphy ↷ Links adapted because of a move operation |
ddsf:public:guidebook:06_append:02_quality_of_service:entity_factory [2021/07/14 15:55] (current) murphy ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| The ENTITY_FACTORY policy controls the behavior of the ''Entity'' as a factory for other entities. | The ENTITY_FACTORY policy controls the behavior of the ''Entity'' as a factory for other entities. | ||
| - | This policy concerns only [[ddsf:public:guidebook:06_append:glossary:d:domain_participant|Domain Participant]] (as factory for ''Publisher'', ''Subscriber'', and ''[[ddsf:private:guidebook:06_append:glossary:t:topic|Topic]]''), [[ddsf:private:guidebook:06_append:glossary:p:publisher|Publisher]] (as factory for ''DataWriter''), and [[ddsf:private:guidebook:06_append:glossary:s:subscriber|Subscriber]] (as factory for ''DataReader''). | + | This policy concerns only [[ddsf:public:guidebook:06_append:glossary:d:domain_participant|Domain Participant]] (as factory for ''Publisher'', ''Subscriber'', and ''[[ddsf:public:guidebook:06_append:glossary:t:topic|Topic]]''), [[ddsf:public:guidebook:06_append:glossary:p:publisher|Publisher]] (as factory for ''DataWriter''), and [[ddsf:public:guidebook:06_append:glossary:s:subscriber|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. | 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 ''[[ddsf:private:guidebook:06_append:glossary:e:entity|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 setting of ''autoenable_created_entities'' to TRUE indicates that the factory ''create_<entity>'' operation will automatically invoke the ''enable'' operation each time a new ''[[ddsf:public:guidebook:06_append:glossary:e:entity|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. | The default setting of ''autoenable_created_entities = TRUE'' means that, by default, it is not necessary to explicitly call ''enable'' on newly created entities. | ||