Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2377_Regression / Hello_Impl.h
blob303dcbb637ad571c026cf14950152ddb0c7cd7bf
2 #include "HelloS.h"
3 #include "ace/Mutex.h"
5 class MessageLog
7 public:
8 MessageLog (int num, bool sprs = false);
9 ~MessageLog ();
11 void register_message_send (int message_num);
12 void register_message_recv (int message_num);
13 int report_statistics ();
15 private:
16 int *sent_;
17 int *rcvd_;
18 int expected_;
19 int overdoseS_;
20 int overdoseR_;
21 bool supress_;
22 ACE_Mutex mutex_;
25 class Hello_Impl
26 : public virtual POA_Test::Hello
28 public:
29 // Constructor
30 Hello_Impl (CORBA::ORB_ptr orb, MessageLog *log);
32 // The skeleton methods
33 virtual void say_hello (CORBA::Short count);
35 virtual void shutdown ();
37 private:
38 CORBA::ORB_var orb_;
40 MessageLog *logger_;