Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Param_Test / driver.h
blob1385df06df40b651d43ed0596212dbb520db05c7
2 //=============================================================================
3 /**
4 * @file driver.h
6 * Header file for the driver program. The driver is a singleton.
8 * @author Aniruddha Gokhale
9 */
10 //=============================================================================
13 #ifndef DRIVER_H
14 #define DRIVER_H
16 #include "options.h"
17 #include "param_testC.h"
19 /**
20 * @class Driver
22 * @brief Driver
24 * Driver program for the client
26 class Driver
28 public:
29 // = Constructor and destructor.
30 Driver ();
31 ~Driver ();
33 /// Initialize the driver object
34 int init (int argc, ACE_TCHAR **argv);
36 /// Execute client example code.
37 int run ();
39 private:
40 /// underlying ORB (we do not own it)
41 CORBA::ORB_var orb_;
43 /// object reference (we do not own it)
44 Param_Test_var objref_;
47 #endif /* !defined */