3 // ===================================================================
5 * @file BiDir_PolicyFactory.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
9 // ===================================================================
10 #ifndef TAO_BIDIR_POLICY_FACTORY_H
11 #define TAO_BIDIR_POLICY_FACTORY_H
13 #include /**/ "ace/pre.h"
15 #include "tao/BiDir_GIOP/bidirgiop_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/PI/PI.h"
22 #include "tao/LocalObject.h"
24 // This is to remove "inherits via dominance" warnings from MSVC.
25 // MSVC is being a little too paranoid.
27 # pragma warning(push)
28 # pragma warning(disable:4250)
31 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
33 /// Policy factory for all Messaging related policies.
34 class TAO_BiDir_PolicyFactory
35 : public PortableInterceptor::PolicyFactory
36 , public ::CORBA::LocalObject
39 CORBA::Policy_ptr
create_policy (CORBA::PolicyType type
,
40 const CORBA::Any
& value
) override
;
43 TAO_END_VERSIONED_NAMESPACE_DECL
50 #include /**/ "ace/post.h"
52 #endif /* TAO_BIDIR_POLICY_FACTORY_H */