TAO_PI
2.4.0
|
ORB-specific PortableInterceptor::PolicyFactory registry. More...
#include <PolicyFactory_Registry.h>
Public Types | |
typedef ACE_Map_Manager< CORBA::PolicyType, PortableInterceptor::PolicyFactory_ptr, ACE_Null_Mutex > | TABLE |
Public Member Functions | |
TAO_PolicyFactory_Registry (void) | |
Constructor. More... | |
~TAO_PolicyFactory_Registry (void) | |
Destructor. Releases duplicated PolicyFactory references. More... | |
void | register_policy_factory (CORBA::PolicyType type, PortableInterceptor::PolicyFactory_ptr policy_factory) |
CORBA::Policy_ptr | create_policy (CORBA::PolicyType type, const CORBA::Any &value) |
CORBA::Policy_ptr | _create_policy (CORBA::PolicyType type) |
bool | factory_exists (CORBA::PolicyType &type) const |
![]() | |
virtual | ~PolicyFactory_Registry_Adapter (void) |
Private Attributes | |
TABLE | factories_ |
The table that maps policy type to policy factory. More... | |
ORB-specific PortableInterceptor::PolicyFactory registry.
ORB-specific registry that contains all portable interceptor policy factories.
typedef ACE_Map_Manager<CORBA::PolicyType, PortableInterceptor::PolicyFactory_ptr, ACE_Null_Mutex> TAO_PolicyFactory_Registry::TABLE |
The type of table that maps policy type to policy factory.
TAO_PolicyFactory_Registry::TAO_PolicyFactory_Registry | ( | void | ) |
Constructor.
TAO_PolicyFactory_Registry::~TAO_PolicyFactory_Registry | ( | void | ) |
Destructor. Releases duplicated PolicyFactory references.
|
virtual |
Create an empty policy, usually to be filled in later by demarshaling.
Implements TAO::PolicyFactory_Registry_Adapter.
|
virtual |
Construct a policy of the given type with the information contained in the CORBA::Any value.
Implements TAO::PolicyFactory_Registry_Adapter.
|
virtual |
Check if a PolicyFactory
corresponding to the given type, exists.
Implements TAO::PolicyFactory_Registry_Adapter.
|
virtual |
Register a PolicyFactory with the underlying PolicyFactory sequence. This method should only be called during ORB initialization.
Implements TAO::PolicyFactory_Registry_Adapter.
|
private |
The table that maps policy type to policy factory.