Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / Bug_3252_Regression / DllOrb.h
blob5689963e201aa75ce3c2b0aa4b076d52ede67e9a
1 #ifndef bug_3252_DllORB_h
2 #define bug_3252_DllORB_h
4 #include "ace/Barrier.h"
5 #include "ace/Task.h"
6 #include "tao/ORB.h"
7 #include <memory>
9 #include "tao/PortableServer/PortableServer.h"
10 #include "bug_3252_export.h"
12 class bug_3252_Export DllOrb: public ACE_Task_Base
14 public:
15 DllOrb ();
16 virtual ~DllOrb ();
18 CORBA::ORB_ptr orb () const { return CORBA::ORB::_duplicate(mv_orb_.in()); }
20 virtual int init (int argc, ACE_TCHAR *argv[]);
22 virtual int fini ();
24 virtual int svc ();
26 private:
27 std::unique_ptr <ACE_Thread_Barrier> ma_barrier_;
28 CORBA::ORB_var mv_orb_;
29 PortableServer::POA_var mv_rootPOA_;
30 PortableServer::POAManager_var mv_poaManager_;
33 ACE_FACTORY_DECLARE (bug_3252, DllOrb)
35 #endif /* bug_3252_DllORB_h */