Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / lib / Priority_Mapping.h
blobf06f83f368e1888b28897e00881fcd587bb2fa34
1 /* -*- C++ -*- */
2 /**
3 * @file Priority_Mapping.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
8 #ifndef TAO_Notify_Tests_PRIORITY_MAPPING_H
9 #define TAO_Notify_Tests_PRIORITY_MAPPING_H
10 #include /**/ "ace/pre.h"
12 #include "notify_test_export.h"
14 #include "tao/Basic_Types.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 # pragma once
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 /**
21 * @class TAO_Notify_Tests_Priority_Mapping
23 * @brief A default Priority mapping. simply returns the same number.
25 class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_Priority_Mapping
27 public:
28 /// The destructor
29 virtual ~TAO_Notify_Tests_Priority_Mapping ();
31 virtual CORBA::Boolean
32 to_native (CORBA::Short corba_priority,
33 CORBA::Short &native_priority);
34 virtual CORBA::Boolean
35 to_CORBA (CORBA::Short native_priority,
36 CORBA::Short &corba_priority);
39 #include /**/ "ace/post.h"
40 #endif /* TAO_Notify_Tests_PRIORITY_MAPPING_H */