summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Param_Test/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Param_Test/driver.h')
-rw-r--r--trunk/TAO/tests/Param_Test/driver.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Param_Test/driver.h b/trunk/TAO/tests/Param_Test/driver.h
new file mode 100644
index 00000000000..820a62c43b3
--- /dev/null
+++ b/trunk/TAO/tests/Param_Test/driver.h
@@ -0,0 +1,52 @@
+// -*- c++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/tests/Param_Test
+//
+// = FILENAME
+// driver.h
+//
+// = DESCRIPTION
+// Header file for the driver program. The driver is a singleton.
+//
+// = AUTHORS
+// Aniruddha Gokhale
+//
+// ============================================================================
+
+#ifndef DRIVER_H
+#define DRIVER_H
+
+#include "options.h"
+#include "param_testC.h"
+
+class Driver
+{
+ // = TITLE
+ // Driver
+ //
+ // = DESCRIPTION
+ // Driver program for the client
+public:
+ // = Constructor and destructor.
+ Driver (void);
+ ~Driver (void);
+
+ int init (int argc, char **argv);
+ // Initialize the driver object
+
+ int run (void);
+ // Execute client example code.
+
+private:
+ CORBA::ORB_var orb_;
+ // underlying ORB (we do not own it)
+
+ Param_Test_var objref_;
+ // object reference (we do not own it)
+};
+
+#endif /* !defined */