Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / Bug_3252_Regression / DllOrb.h
blob4a52e9f03849128e8d0d547aa46661b324233c9e
1 #ifndef bug_3252_DllORB_h
2 #define bug_3252_DllORB_h
4 #include "ace/Barrier.h"
5 #include "ace/Task.h"
6 #include "ace/Auto_Ptr.h"
7 #include "tao/ORB.h"
9 #include "tao/PortableServer/PortableServer.h"
10 #include "bug_3252_export.h"
13 class bug_3252_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_3252, DllOrb)
36 #endif /* bug_3252_DllORB_h */