Continued changes from peer review
[ACE_TAO.git] / TAO / tests / Param_Test / driver.h
blobdcc0778dd65a758986f25cd1f4a7f2c375afd024
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 (void);
31 ~Driver (void);
33 /// Initialize the driver object
34 int init (int argc, ACE_TCHAR **argv);
36 /// Execute client example code.
37 int run (void);
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 */