3 //=============================================================================
5 * @file PortableServer_PolicyFactory.h
7 * @author Irfan Pyarali <irfan@oomworks.com>
9 //=============================================================================
11 #ifndef TAO_PORTABLESERVER_POLICY_FACTORY_H
12 #define TAO_PORTABLESERVER_POLICY_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/PI/PI.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/LocalObject.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 /// Policy factory for all PortableServer related policies.
27 class TAO_PortableServer_PolicyFactory
28 : public virtual PortableInterceptor::PolicyFactory
,
29 public virtual ::CORBA::LocalObject
32 CORBA::Policy_ptr
create_policy (CORBA::PolicyType type
,
33 const CORBA::Any
& value
);
36 TAO_END_VERSIONED_NAMESPACE_DECL
38 #include /**/ "ace/post.h"
40 #endif /* TAO_PORTABLESERVER_POLICY_FACTORY_H */