Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Bug_1361_Regression / Echo.h
blob2f7d8119694a4c882f67c83c3a9aae7b4e05ece2
2 /**
3 * @file Echo.h
5 * @author Carlos O'Ryan <coryan@atdesk.com>
6 */
7 #ifndef TAO_TESTS_BUG1270_ECHO_H
8 #define TAO_TESTS_BUG1270_ECHO_H
10 #include "ace/Atomic_Op.h"
11 #include "TestS.h"
13 class Echo : public POA_Test::Echo
15 public:
16 Echo(CORBA::ORB_ptr orb, int abort_counter);
18 virtual void echo_payload (Test::Payload const & data);
20 virtual void echo_payload_out (Test::Payload_out data);
22 private:
23 CORBA::ORB_var orb_;
25 ACE_Atomic_Op<TAO_SYNCH_MUTEX, int> abort_counter_;
28 #endif /* TAO_TESTS_BUG1270_ECHO_H*/