ACE+TAO-7_0_8
[ACE_TAO.git] / TAO / tests / Alt_Mapping / driver.h
blob42b76a5c1324fb13cf7ca729475c43bba9f71793
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 (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 Alt_Mapping_var objref_;
47 #endif /* !defined */