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 ()
19 TAO_Direct_Priority_Mapping::to_native (RTCORBA::Priority corba_priority
,
20 RTCORBA::NativePriority
&native_priority
)
22 native_priority
= corba_priority
;
27 TAO_Direct_Priority_Mapping::to_CORBA (RTCORBA::NativePriority native_priority
,
28 RTCORBA::Priority
&corba_priority
)
30 corba_priority
= native_priority
;
34 TAO_END_VERSIONED_NAMESPACE_DECL
36 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */