Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / DevGuideExamples / PortableInterceptors / PICurrent / ClientInitializer.h
blobc3d497c10084505199925a5d02494f34d0713a30
1 #ifndef CLIENTINITIALIZER_H
2 #define CLIENTINITIALIZER_H
4 #include "tao/PortableInterceptorC.h"
5 #include "tao/LocalObject.h"
6 #include "tao/PI/PI.h"
7 #include "tao/PI/PICurrentC.h"
9 class ClientInitializer :
10 public virtual PortableInterceptor::ORBInitializer,
11 public virtual ::CORBA::LocalObject
13 public:
14 ClientInitializer ();
15 virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info);
16 virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info);
17 void set_slot_data ();
19 private:
20 PortableInterceptor::SlotId slot_;
21 PortableInterceptor::Current_var current_;
24 #endif