summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Bug_3646d_Regression/DllORB.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Bug_3646d_Regression/DllORB.h')
-rw-r--r--TAO/orbsvcs/tests/Notify/Bug_3646d_Regression/DllORB.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Bug_3646d_Regression/DllORB.h b/TAO/orbsvcs/tests/Notify/Bug_3646d_Regression/DllORB.h
new file mode 100644
index 00000000000..65e44829a85
--- /dev/null
+++ b/TAO/orbsvcs/tests/Notify/Bug_3646d_Regression/DllORB.h
@@ -0,0 +1,42 @@
+// $Id$
+#ifndef DLLORB_H
+#define DLLORB_H
+
+#include "ace/Task.h"
+#include "tao/ORB.h"
+#include "tao/PortableServer/PortableServer.h"
+#include "bug3646d_export.h"
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+class ACE_Thread_Barrier;
+ACE_END_VERSIONED_NAMESPACE_DECL
+
+class bug3646d_Export DllORB: public ACE_Task_Base
+{
+public:
+ DllORB ();
+ virtual ~DllORB ();
+
+ inline CORBA::ORB_ptr orb () const
+ {
+ return CORBA::ORB::_duplicate (mv_orb_.in ());
+ }
+
+ virtual int init (int argc, ACE_TCHAR *argv[]);
+
+ virtual int fini ();
+
+protected:
+ virtual int svc ();
+
+private:
+ unsigned int failPrePostInit_;
+ ACE_Thread_Barrier* mp_barrier_;
+ CORBA::ORB_var mv_orb_;
+ PortableServer::POA_var mv_rootPOA_;
+ PortableServer::POAManager_var mv_poaManager_;
+};
+
+ACE_FACTORY_DECLARE (bug3646d, DllORB)
+
+#endif /* DLLORB_H */