Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / Bug_3646d_Regression / DllORB.h
blobf2df32f6cb499c02be751a7ef1ef926777a7c324
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 "bug3646d_export.h"
9 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
10 class ACE_Thread_Barrier;
11 ACE_END_VERSIONED_NAMESPACE_DECL
13 class bug3646d_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 (bug3646d, DllORB)
41 #endif /* DLLORB_H */