#include <CorePolicy.hpp>
Inheritance diagram for EntityFactory< D >:Public Member Functions | |
| EntityFactory () | |
| EntityFactory (bool the_auto_enable) | |
| void | autoenable_created_entities (bool on) |
| bool | autoenable_created_entities () const |
Static Public Member Functions | |
| static EntityFactory | AutoEnable () |
| static EntityFactory | ManuallyEnable () |
This policy controls the behavior of the Entity as a factory for other entities. This policy concerns only DomainParticipant (as factory for Publisher, Subscriber, and 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 newly created object will be enabled by default. 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 Section 7.1.2.1.1.7, ÒenableÓ). The default setting of autoenable_created_entities = TRUE means that, by default, it is not necessary to explicitly call enable on newly created entities.
Definition at line 230 of file CorePolicy.hpp.
| EntityFactory | ( | ) | [inline] |
Definition at line 232 of file CorePolicy.hpp.
| EntityFactory | ( | bool | the_auto_enable | ) | [inline, explicit] |
Definition at line 234 of file CorePolicy.hpp.
| static EntityFactory AutoEnable | ( | ) | [inline, static] |
Definition at line 246 of file CorePolicy.hpp.
| bool autoenable_created_entities | ( | ) | const [inline] |
Definition at line 241 of file CorePolicy.hpp.
| void autoenable_created_entities | ( | bool | on | ) | [inline] |
Definition at line 238 of file CorePolicy.hpp.
| static EntityFactory ManuallyEnable | ( | ) | [inline, static] |
Definition at line 249 of file CorePolicy.hpp.
1.7.1