blob: 4c35fcf0830b3d87dd99a1f0a82291fee1de6e5d (
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
48
49
50
51
52
53
54
55
56
57
58
59
|
// -*- c++ -*-
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/tests/DynAny_Test
//
// = FILENAME
// driver.h
//
// = DESCRIPTION
// Header file for the driver program.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
//
// ============================================================================
#if !defined (DRIVER_H)
#define DRIVER_H
#include "tao/corba.h"
class Driver
{
public:
// = Constructor and destructor.
Driver (void);
~Driver (void);
enum TEST_TYPE
{
NO_TEST,
TEST_DYNANY,
TEST_DYNARRAY,
TEST_DYNENUM,
TEST_DYNSEQUENCE,
TEST_DYNSTRUCT,
TEST_DYNUNION
};
int init (int argc, char* argv[]);
// Initialize the driver object.
int parse_args (int argc, char* argv[]);
// Parse command line arguments.
int run (void);
// Execute test code.
private:
CORBA::ORB_var orb_;
// underlying ORB (we do not own it)
TEST_TYPE test_type_;
};
#endif /* DRIVER_H */
|