3 //=============================================================================
5 * @file DiffServPolicy_ORBInitializer.h
7 * @author Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu>
8 * Johnny Willemsen <jwillemsen@remedy.nl>
10 //=============================================================================
13 #ifndef TAO_DIFFSERV_POLICY_ORB_INITIALIZER_H
14 #define TAO_DIFFSERV_POLICY_ORB_INITIALIZER_H
16 #include /**/ "ace/pre.h"
18 #include "tao/DiffServPolicy/DiffServPolicy_Export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/PI/PI.h"
25 #include "tao/LocalObject.h"
27 // This is to remove "inherits via dominance" warnings from MSVC.
28 // MSVC is being a little too paranoid.
31 #pragma warning(disable:4250)
34 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
36 /// DiffServ Policy ORB initializer.
37 class TAO_DiffServPolicy_Export TAO_DiffServPolicy_ORBInitializer
38 : public virtual PortableInterceptor::ORBInitializer
39 , public virtual ::CORBA::LocalObject
42 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
44 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
47 /// Register DiffServ policy factories.
48 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info
);
51 PortableInterceptor::PolicyFactory_var policy_factory_
;
54 TAO_END_VERSIONED_NAMESPACE_DECL
60 #include /**/ "ace/post.h"
62 #endif /* TAO_DIFFSERV_POLICY_ORB_INITIALIZER_H */