=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tao / Dynamic_TP / DTP_ORBInitializer.h
blob2bb8ff66e585c0f7e003f1ac524260e07e9b683b
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file DTP_ORBInitializer.h
7 * @author Ossama Othman <ossama@uci.edu>
8 */
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)
24 # 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.
32 #if defined(_MSC_VER)
33 #pragma warning(push)
34 #pragma warning(disable:4250)
35 #endif /* _MSC_VER */
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
44 public:
45 TAO_DTP_ORBInitializer ();
47 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
49 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
51 private:
52 /// Register Dynamic_TP policy factories.
53 void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info);
56 TAO_END_VERSIONED_NAMESPACE_DECL
58 #if defined(_MSC_VER)
59 #pragma warning(pop)
60 #endif /* _MSC_VER */
62 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
64 #include /**/ "ace/post.h"
66 #endif /* TAO_DYNAMIC_TP_ORB_INITIALIZER_H */