blob: 42b76a5c1324fb13cf7ca729475c43bba9f71793 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
//=============================================================================
/**
* @file driver.h
*
* Header file for the driver program. The driver is a singleton.
*
* @author Aniruddha Gokhale
*/
//=============================================================================
#ifndef DRIVER_H
#define DRIVER_H
#include "options.h"
#include "alt_mappingC.h"
/**
* @class Driver
*
* @brief Driver
*
* Driver program for the client
*/
class Driver
{
public:
// = Constructor and destructor.
Driver (void);
~Driver (void);
/// Initialize the driver object
int init (int argc, ACE_TCHAR **argv);
/// Execute client example code.
int run (void);
private:
/// underlying ORB (we do not own it)
CORBA::ORB_var orb_;
/// object reference (we do not own it)
Alt_Mapping_var objref_;
};
#endif /* !defined */
|