DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Static Public Member Functions | List of all members
dds::core::policy::TEntityFactory< D > Class Template Reference

#include <TCorePolicy.hpp>

Inheritance diagram for dds::core::policy::TEntityFactory< D >:
Inheritance graph
[legend]

Public Member Functions

TEntityFactory() TEntityFactory (bool the_auto_enable)
 
 TEntityFactory (const TEntityFactory &other)
 
TEntityFactoryautoenable_created_entities (bool on)
 
bool autoenable_created_entities () const
 
- Public Member Functions inherited from dds::core::Value< D >
template<typename ARG >
 Value (const ARG &arg)
 
template<typename ARG1 , typename ARG2 >
 Value (const ARG1 &arg1, const ARG2 &arg2)
 
template<typename ARG1 , typename ARG2 , typename ARG3 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3)
 
template<typename ARG1 , typename ARG2 , typename ARG3 , typename ARG4 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4)
 
template<typename ARG1 , typename ARG2 , typename ARG3 , typename ARG4 , typename ARG5 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4, const ARG5 &arg5)
 
template<typename ARG1 , typename ARG2 , typename ARG3 , typename ARG4 , typename ARG5 , typename ARG6 >
 Value (const ARG1 &arg1, const ARG2 &arg2, const ARG3 &arg3, const ARG4 &arg4, const ARG5 &arg5, const ARG6 &arg6)
 
 ~Value ()
 
const D & delegate () const
 
D & delegate ()
 
 operator const D & () const
 
 operator D & ()
 
bool operator!= (const Value &other) const
 
const D * operator-> () const
 
D * operator-> ()
 
Valueoperator= (const Value &other)
 
bool operator== (const Value &other) const
 

Static Public Member Functions

static TEntityFactory AutoEnable ()
 
static TEntityFactory ManuallyEnable ()
 

Additional Inherited Members

- Protected Member Functions inherited from dds::core::Value< D >
 Value ()
 
 Value (const Value &p)
 
- Protected Attributes inherited from dds::core::Value< D >
d_
 

Detailed Description

template<typename D>
class dds::core::policy::TEntityFactory< D >

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 220 of file TCorePolicy.hpp.

Constructor & Destructor Documentation

template<typename D >
TEntityFactory () dds::core::policy::TEntityFactory< D >::TEntityFactory ( bool  the_auto_enable)
explicit
template<typename D >
dds::core::policy::TEntityFactory< D >::TEntityFactory ( const TEntityFactory< D > &  other)

Member Function Documentation

template<typename D >
static TEntityFactory dds::core::policy::TEntityFactory< D >::AutoEnable ( )
static
template<typename D >
TEntityFactory& dds::core::policy::TEntityFactory< D >::autoenable_created_entities ( bool  on)
template<typename D >
bool dds::core::policy::TEntityFactory< D >::autoenable_created_entities ( ) const
template<typename D >
static TEntityFactory dds::core::policy::TEntityFactory< D >::ManuallyEnable ( )
static

The documentation for this class was generated from the following file: