Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_3486_Regression / DllORB.h
blobf47fe24306d87b9dc1796a49cfedf609f24ad3d2
1 #ifndef DLLORB_H
2 #define DLLORB_H
4 #include "ace/Task.h"
5 #include "tao/ORB.h"
6 #include "tao/PortableServer/PortableServer.h"
7 #include "bug3486_export.h"
9 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
10 class ACE_Thread_Barrier;
11 ACE_END_VERSIONED_NAMESPACE_DECL
13 class bug3486_Export DllORB: public ACE_Task_Base
15 public:
16 DllORB ();
17 virtual ~DllORB ();
19 inline CORBA::ORB_ptr orb () const
21 return CORBA::ORB::_duplicate (mv_orb_.in ());
24 virtual int init (int argc, ACE_TCHAR *argv[]);
26 virtual int fini ();
28 protected:
29 virtual int svc ();
31 private:
32 unsigned int failPrePostInit_;
33 ACE_Thread_Barrier* mp_barrier_;
34 CORBA::ORB_var mv_orb_;
35 PortableServer::POA_var mv_rootPOA_;
36 PortableServer::POAManager_var mv_poaManager_;
39 ACE_FACTORY_DECLARE (bug3486, DllORB)
41 #endif /* DLLORB_H */