Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3251_Regression / DllOrb.h
bloba9541c0f9301594945b6004869ada039c6b97176
1 #ifndef bug_3251_DllORB_h
2 #define bug_3251_DllORB_h
4 #include "ace/Auto_Ptr.h"
5 #include "ace/Barrier.h"
6 #include "ace/Task.h"
7 #include "tao/ORB.h"
9 #include "tao/PortableServer/PortableServer.h"
10 #include "bug_3251_export.h"
13 class bug_3251_Export DllOrb: public ACE_Task_Base
15 public:
16 DllOrb (void);
17 virtual ~DllOrb (void);
19 CORBA::ORB_ptr orb (void) const { return CORBA::ORB::_duplicate(mv_orb_.in()); }
21 virtual int init (int argc, ACE_TCHAR *argv[]);
23 virtual int fini (void);
25 virtual int svc (void);
27 private:
28 auto_ptr < ACE_Thread_Barrier > ma_barrier_;
29 CORBA::ORB_var mv_orb_;
30 PortableServer::POA_var mv_rootPOA_;
31 PortableServer::POAManager_var mv_poaManager_;
34 ACE_FACTORY_DECLARE (bug_3251, DllOrb)
36 #endif /* bug_3251_DllORB_h */