diff options
Diffstat (limited to 'TAO/tests/Bug_3251_Regression/DllOrb.h')
-rw-r--r-- | TAO/tests/Bug_3251_Regression/DllOrb.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3251_Regression/DllOrb.h b/TAO/tests/Bug_3251_Regression/DllOrb.h new file mode 100644 index 00000000000..f8fe24bfba8 --- /dev/null +++ b/TAO/tests/Bug_3251_Regression/DllOrb.h @@ -0,0 +1,38 @@ +// $Id$ + +#ifndef bug_3251_DllORB_h +#define bug_3251_DllORB_h + +#include "ace/Auto_Ptr.h" +#include "ace/Barrier.h" +#include "ace/Task.h" +#include "tao/ORB.h" + +#include "tao/PortableServer/PortableServer.h" +#include "bug_3251_export.h" + + +class bug_3251_Export DllOrb: public ACE_Task_Base +{ +public: + DllOrb (void); + virtual ~DllOrb (void); + + CORBA::ORB_ptr orb (void) const { return CORBA::ORB::_duplicate(mv_orb_.in()); } + + virtual int init (int argc, ACE_TCHAR *argv[]); + + virtual int fini (void); + + virtual int svc (void); + +private: + auto_ptr < ACE_Thread_Barrier > ma_barrier_; + CORBA::ORB_var mv_orb_; + PortableServer::POA_var mv_rootPOA_; + PortableServer::POAManager_var mv_poaManager_; +}; + +ACE_FACTORY_DECLARE (bug_3251, DllOrb) + +#endif /* bug_3251_DllORB_h */ |