Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / NestedUpcall / Triangle_Test / Initiator_i.h
blob0e8cd6bb58e34f3c216b8fa93850836fb87a67af
2 //=============================================================================
3 /**
4 * @file Initiator_i.h
6 * This class implements the Initiator of the
7 * Nested Upcalls - Triangle test.
9 * @author Michael Kircher
11 //=============================================================================
14 #ifndef INITIATOR_IMPL_H
15 # define INITIATOR_IMPL_H
17 #include "Triangle_TestS.h"
19 /**
20 * @class Initiator_i
22 * @brief Implement the <Initiator> IDL interface.
24 class Initiator_i : public POA_Initiator
26 public:
27 /// Constructor.
28 Initiator_i (Object_A_ptr object_A_ptr,
29 Object_B_ptr object_B_ptr);
31 /// Destructor.
32 virtual ~Initiator_i ();
34 virtual void foo_object_B ();
36 private:
37 /// reference to object A
38 Object_A_var object_A_var_;
40 /// reference to object B
41 Object_B_var object_B_var_;
44 #endif /* INITIATOR_IMPL_H */