Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Recursive_ORBInitializer / Client_ORBInitializer.h
blob8cf7c24d80dcb7946f769a1862fb4f56e40068a5
1 // -*- C++ -*-
3 #ifndef TAO_CLIENT_ORB_INITIALIZER_H
4 #define TAO_CLIENT_ORB_INITIALIZER_H
5 #include /**/ "ace/pre.h"
7 #include "tao/PI/PI.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 # pragma once
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 #include "tao/LocalObject.h"
15 // This is to remove "inherits via dominance" warnings from MSVC.
16 // MSVC is being a little too paranoid.
17 #if defined(_MSC_VER)
18 #pragma warning(push)
19 #pragma warning(disable:4250)
20 #endif /* _MSC_VER */
22 /// Client ORB initializer.
23 class Client_ORBInitializer :
24 public virtual PortableInterceptor::ORBInitializer,
25 public virtual ::CORBA::LocalObject
27 public:
28 /// Constructor
29 Client_ORBInitializer (Client_ORBInitializer *second);
31 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
33 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
35 int pre_init_called;
36 int post_init_called;
37 private:
38 Client_ORBInitializer *second_;
41 #if defined(_MSC_VER)
42 #pragma warning(pop)
43 #endif /* _MSC_VER */
45 #include /**/ "ace/post.h"
46 #endif /* TAO_CLIENT_ORB_INITIALIZER_H */