summaryrefslogtreecommitdiff
path: root/TAO/examples/Simulator/DOVEMIB/clnt.h
blob: 67ed5c84d57d8368c5ee8b6cdada7d470a97bf1a (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
60
61
62
// -*- c++ -*-
// $Id$

// ============================================================================
//
// = LIBRARY
//
// = FILENAME
//    clnt.h
//
// = DESCRIPTION
//
// = AUTHORS
//   Michael Kircher
//
// ============================================================================

#include "ace/Get_Opt.h"
#include "tao/corba.h"
#include "any_testC.h"
#include "NavWeapC.h"

class Any_Test_Client
  // = TITLE
  //
  // = DESCRIPTION
{
public:
  // = Constructor and destructor.
  Any_Test_Client (void);
  ~Any_Test_Client (void);

  int run (void);
  // Execute client example code.

  int init (int argc, char **argv);
  // Initialize the client communication endpoint with server.

private:
  Navigation navigation_;
  Weapons weapons_;

  Any_Test_ptr any_test_ptr_;
 //  Reverse_ptr reverse_ptr_;
  
  int argc_;
  // # of arguments on the command line.

  char **argv_;
  // arguments from command line.


  CORBA::Environment env_;
  // Environment variable

  CORBA::ORB_var orb_;
  // Remember our orb
};