Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / BiDir_GIOP / BiDir_ORBInitializer.h
blobb4079d10de213a629ce633195665cb0897c92959
1 // -*- C++ -*-
2 //
3 // ===================================================================
4 /**
5 * @file BiDir_ORBInitializer.h
7 * @author Balachandran Natarajan <bala@cs.wustl.edu>
8 */
9 // ===================================================================
10 #ifndef TAO_BIDIR_ORB_INITIALIZER_H
11 #define TAO_BIDIR_ORB_INITIALIZER_H
13 #include /**/ "ace/pre.h"
15 #include "tao/BiDir_GIOP/bidirgiop_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # 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.
26 #if defined(_MSC_VER)
27 #pragma warning(push)
28 #pragma warning(disable:4250)
29 #endif /* _MSC_VER */
31 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
33 /// BiDIR ORB initializer.
34 class TAO_BiDir_ORBInitializer
35 : public virtual PortableInterceptor::ORBInitializer
36 , public virtual ::CORBA::LocalObject
38 public:
39 void pre_init (PortableInterceptor::ORBInitInfo_ptr info) override;
41 void post_init (PortableInterceptor::ORBInitInfo_ptr info) override;
43 private:
44 /// Register BiDir policy factories.
45 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info);
48 TAO_END_VERSIONED_NAMESPACE_DECL
50 #if defined(_MSC_VER)
51 #pragma warning(pop)
52 #endif /* _MSC_VER */
54 #include /**/ "ace/post.h"
56 #endif /* TAO_BIDIR_ORB_INITIALIZER_H */