Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Benchmark / Client_ORBInitializer.h
blobdee623c5b9821c7cbf78da84705b7ba1beee6001
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 (int interceptor_type);
31 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
33 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
35 private:
36 int interceptor_type_;
37 // The type of interceptor that this initializer will create
40 #if defined(_MSC_VER)
41 #pragma warning(pop)
42 #endif /* _MSC_VER */
44 #include /**/ "ace/post.h"
45 #endif /* TAO_CLIENT_ORB_INITIALIZER_H */