3 //=============================================================================
5 * @file DTP_ORBInitializer.h
7 * @author Ossama Othman <ossama@uci.edu>
9 //=============================================================================
12 #ifndef TAO_DYNAMIC_TP_ORB_INITIALIZER_H
13 #define TAO_DYNAMIC_TP_ORB_INITIALIZER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/orbconf.h"
19 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
21 #include "tao/Dynamic_TP/dynamic_tp_export.h"
23 #if !defined (ACE_LACKS_PRAGMA_ONCE)
25 #endif /* ACE_LACKS_PRAGMA_ONCE */
27 #include "tao/PI/PI.h"
28 #include "tao/LocalObject.h"
30 // This is to remove "inherits via dominance" warnings from MSVC.
31 // MSVC is being a little too paranoid.
34 #pragma warning(disable:4250)
37 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
39 /// Dynamic_TP ORB initializer.
40 class TAO_DTP_ORBInitializer
41 : public virtual PortableInterceptor::ORBInitializer
42 , public virtual ::CORBA::LocalObject
45 TAO_DTP_ORBInitializer ();
47 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
49 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
52 /// Register Dynamic_TP policy factories.
53 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info
);
56 TAO_END_VERSIONED_NAMESPACE_DECL
62 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
64 #include /**/ "ace/post.h"
66 #endif /* TAO_DYNAMIC_TP_ORB_INITIALIZER_H */