Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / tests / Task_Ex_Test.h
blobccb7c377ed9124163d8a7ed8349d2517f0df31a9
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Task_Ex_Test.h
7 * Define class needed for generating templates.
9 * @author Kobi Cohen-Arazi <kobi-co@barak-online.net>
11 //=============================================================================
13 #ifndef ACE_TESTS_TASK_EX_TEST_H
14 #define ACE_TESTS_TASK_EX_TEST_H
16 #include "ace/Basic_Types.h"
18 class User_Defined_Msg
20 public:
21 /// c'tor sets the msg id
22 User_Defined_Msg (ACE_INT32 id) : msg_id_ (id)
24 /// accessors to msg_id_
25 ACE_INT32 msg_id () const {return msg_id_;}
26 private:
27 /// keep the msg id here
28 ACE_INT32 msg_id_;
31 #endif /* ACE_TESTS_TASK_EX_TEST_H */