Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Alt_Mapping / driver.h
bloba1e0ac1f4f20ecfbc1ebd0d31d1591527476e78c
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 "alt_mappingC.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 Alt_Mapping_var objref_;
47 #endif /* !defined */