Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Bug_3080 / Client_ORBInitializer.h
blob965ca540dbbba4e9a9fa5a1d10785a3a084688e0
1 // -*- C++ -*-
2 #ifndef TAO_CLIENT_ORB_INITIALIZER_H
3 #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 #if TAO_HAS_INTERCEPTORS == 1
15 #include "tao/LocalObject.h"
17 // This is to remove "inherits via dominance" warnings from MSVC.
18 // MSVC is being a little too paranoid.
19 #if defined(_MSC_VER)
20 #pragma warning(push)
21 #pragma warning(disable:4250)
22 #endif /* _MSC_VER */
24 class Client_Request_Interceptor;
26 /// Client side ORB initializer.
27 class Client_ORBInitializer :
28 public virtual PortableInterceptor::ORBInitializer,
29 public virtual ::CORBA::LocalObject
31 public:
32 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
34 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
36 Client_Request_Interceptor* client_interceptor_;
39 #if defined(_MSC_VER)
40 #pragma warning(pop)
41 #endif /* _MSC_VER */
43 #endif /* TAO_HAS_INTERCEPTORS == 1 */
45 #include /**/ "ace/post.h"
47 #endif /* TAO_CLIENT_ORB_INITIALIZER_H */