summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Triangle_Test/Initiator_i.h
blob: cd7cace945f906e1fc27bc90e43523ac15612aad (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
// -*- c++ -*-
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/NestedUpCalls/Triangle_Test
//
// = FILENAME
//    Initiator_i.h
//
// = DESCRIPTION
//    This class implements the Initiator of the
//    Nested Upcalls - Triangle test.
//
// = AUTHORS
//    Michael Kircher
//
// ============================================================================

#ifndef INITIATOR_IMPL_H
#  define INITIATOR_IMPL_H

#include "Triangle_TestS.h"

class Initiator_i : public POA_Initiator
{
  // = TITLE
  //     Implement the <Initiator> IDL interface.
public:
  Initiator_i (Object_A_ptr object_A_ptr,
                  Object_B_ptr object_B_ptr);
  // Constructor.

  virtual ~Initiator_i (void);
  // Destructor.

  virtual void foo_object_B (CORBA::Environment &env)
    ACE_THROW_SPEC ((CORBA::SystemException));

private:
  Object_A_var object_A_var_;
  // reference to object A

  Object_B_var object_B_var_;
  // reference to object B
};

#endif /* INITIATOR_IMPL_H */