3 //=============================================================================
5 * @file PI_PolicyFactory.h
7 * @author Tim Bradley <bradley_t@ociweb.com>
9 //=============================================================================
11 #ifndef TAO_PI_POLICY_FACTORY_H
12 #define TAO_PI_POLICY_FACTORY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/orbconf.h"
18 #if TAO_HAS_INTERCEPTORS == 1
20 #include "tao/PI/pi_export.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "tao/LocalObject.h"
27 #include "tao/PI/PI_includeC.h"
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 /// Policy factory for all PortableInterceptor related policies.
32 class TAO_PI_Export TAO_PI_PolicyFactory
33 : public virtual PortableInterceptor::PolicyFactory
,
34 public virtual ::CORBA::LocalObject
37 CORBA::Policy_ptr
create_policy (CORBA::PolicyType type
, const CORBA::Any
& value
);
40 TAO_END_VERSIONED_NAMESPACE_DECL
42 #endif /* TAO_HAS_INTERCEPTORS == 1 */
44 #include /**/ "ace/post.h"
46 #endif /* TAO_PI_POLICY_FACTORY_H */