3 //=============================================================================
5 * @file ZIOP_ORBInitializer.h
7 * @author Johnny Willemsen
9 //=============================================================================
12 #ifndef TAO_ZIOP_ORB_INITIALIZER_H
13 #define TAO_ZIOP_ORB_INITIALIZER_H
15 #include /**/ "ace/pre.h"
17 #include "tao/ZIOP/ziop_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/PI/PI.h"
25 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
27 #include "tao/LocalObject.h"
29 // This is to remove "inherits via dominance" warnings from MSVC.
30 // MSVC is being a little too paranoid.
33 #pragma warning(disable:4250)
36 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
38 class TAO_ZIOP_Loader
;
40 /// ZIOP ORB initializer.
41 class TAO_ZIOP_ORBInitializer
42 : public virtual PortableInterceptor::ORBInitializer
,
43 public virtual ::CORBA::LocalObject
46 TAO_ZIOP_ORBInitializer (TAO_ZIOP_Loader
* loader
);
49 * @name PortableInterceptor::ORBInitializer Methods
51 * The following methods are required by the
52 * PortableInterceptor::ORBInitializer interface.
55 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info
);
57 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info
);
61 /// Register policy factories.
62 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info
);
64 TAO_ZIOP_Loader
* loader_
;
67 TAO_END_VERSIONED_NAMESPACE_DECL
75 #include /**/ "ace/post.h"
77 #endif /* TAO_ZIOP_ORB_INITIALIZER_H */