Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_3542_Regression / DllOrb.h
bloba7d44a51a0515059f260c8442ba2917d6f7b7045
1 #ifndef bug_3542_DllORB_h
2 #define bug_3542_DllORB_h
4 #include "ace/Barrier.h"
5 #include "ace/Task.h"
6 #include "tao/ORB.h"
8 #include "bug_3542_export.h"
9 #include "tao/PortableServer/PortableServer.h"
11 #include <memory>
13 class bug_3542_Export DllOrb : public ACE_Task_Base
15 public:
16 DllOrb ();
17 virtual ~DllOrb ();
19 CORBA::ORB_ptr orb () const { return CORBA::ORB::_duplicate (mv_orb_.in ()); }
21 virtual int init (int argc, ACE_TCHAR* argv[]);
23 virtual int fini ();
25 virtual int svc ();
27 private:
28 std::unique_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_3542, DllOrb)
36 #endif /* bug_3542_DllORB_h */