summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Bug_2247_Regression/Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Bug_2247_Regression/Manager.h')
-rw-r--r--TAO/orbsvcs/tests/Bug_2247_Regression/Manager.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Bug_2247_Regression/Manager.h b/TAO/orbsvcs/tests/Bug_2247_Regression/Manager.h
new file mode 100644
index 00000000000..ca3bcae2b41
--- /dev/null
+++ b/TAO/orbsvcs/tests/Bug_2247_Regression/Manager.h
@@ -0,0 +1,49 @@
+// -*- C++ -*-
+// $Id$
+
+#ifndef BUG_2247_REGRESSION_MANAGER_H
+#define BUG_2247_REGRESSION_MANAGER_H
+
+#include "tao/ORB.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Object.h"
+
+class Manager
+{
+public:
+
+ Manager (void);
+ // Ctor
+
+ void init (int argc,
+ char *argv[]);
+
+ // Initialize the ORB, POA etc.
+
+ int make_merged_iors (void);
+ // Merges the different IORS
+
+ int set_properties (void);
+ // Sets the properties for the profiles
+
+ int run (void);
+ // Run the ORB event loop..
+
+ int write_to_file (void);
+ // Write the merged IOR to a file
+
+ CORBA::ORB_ptr orb (void);
+ // Return the pointer to the copy of our ORB
+private:
+ CORBA::ORB_var orb_;
+ // Our ORB
+
+ CORBA::Object_var merged_set_;
+ // The merged IOR set
+};
+
+#endif /* BUG_2247_REGRESSION_MANAGER_H */