Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTCORBA / Direct_Priority_Mapping.cpp
blob1544d4cefcb98da4e023a839ef3a5c64e0273334
1 #include "tao/orbconf.h"
3 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
5 #include "tao/RTCORBA/Direct_Priority_Mapping.h"
6 #include "ace/Sched_Params.h"
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 TAO_Direct_Priority_Mapping::TAO_Direct_Priority_Mapping (long)
14 TAO_Direct_Priority_Mapping::~TAO_Direct_Priority_Mapping ()
18 CORBA::Boolean
19 TAO_Direct_Priority_Mapping::to_native (RTCORBA::Priority corba_priority,
20 RTCORBA::NativePriority &native_priority)
22 native_priority = corba_priority;
23 return true;
26 CORBA::Boolean
27 TAO_Direct_Priority_Mapping::to_CORBA (RTCORBA::NativePriority native_priority,
28 RTCORBA::Priority &corba_priority)
30 corba_priority = native_priority;
31 return true;
34 TAO_END_VERSIONED_NAMESPACE_DECL
36 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */