2 * @author Iliyan jeliazkov <iliyan@ociweb.com>
3 * @author Lothar Werzinger <lothar@tradescape.biz>
9 #include "ace/Barrier.h"
13 #include "tao/PortableServer/PortableServer.h"
15 #include "DllOrb_Export.h"
17 /** The CORBA ORB as a dynamic loadable module.
20 class DllOrb_Export DllOrb
25 /// Default constructor.
26 DllOrb (int nthreads
= 1);
31 CORBA::ORB_ptr
orb () const;
33 virtual int init (int argc
, ACE_TCHAR
*argv
[]);
37 // protected types and methods
41 // private methods and instance variables
44 unsigned int m_failPrePostInit
;
46 #if defined (ACE_HAS_THREADS)
47 ACE_Thread_Barrier
* mp_barrier
;
50 CORBA::ORB_var mv_orb
;
51 PortableServer::POA_var mv_rootPOA
;
52 PortableServer::POAManager_var mv_poaManager
;
53 }; /* end of DllOrb */
55 ACE_FACTORY_DECLARE (DllOrb
, DllOrb
)