Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / Bug_3646b_Regression / DllORB.h
blobf8b9b829f6c10719c00fd529b36ae28efba5793d
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 "bug3646b_export.h"
9 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
10 class ACE_Thread_Barrier;
11 ACE_END_VERSIONED_NAMESPACE_DECL
13 class bug3646b_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 (bug3646b, DllORB)
41 #endif /* DLLORB_H */