Direct_Priority_Mapping.cpp

Go to the documentation of this file.
00001 // $Id: Direct_Priority_Mapping.cpp 76593 2007-01-25 19:19:27Z johnnyw $
00002 
00003 #include "tao/orbconf.h"
00004 
00005 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
00006 
00007 #include "tao/RTCORBA/Direct_Priority_Mapping.h"
00008 #include "ace/Sched_Params.h"
00009 
00010 ACE_RCSID(RTCORBA,
00011           Direct_Priority_Mapping,
00012           "$Id: Direct_Priority_Mapping.cpp 76593 2007-01-25 19:19:27Z johnnyw $")
00013 
00014 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00015 
00016 TAO_Direct_Priority_Mapping::TAO_Direct_Priority_Mapping (long)
00017 {
00018 }
00019 
00020 TAO_Direct_Priority_Mapping::~TAO_Direct_Priority_Mapping (void)
00021 {
00022 }
00023 
00024 CORBA::Boolean
00025 TAO_Direct_Priority_Mapping::to_native (RTCORBA::Priority corba_priority,
00026                                         RTCORBA::NativePriority &native_priority)
00027 {
00028   native_priority = corba_priority;
00029   return true;
00030 }
00031 
00032 CORBA::Boolean
00033 TAO_Direct_Priority_Mapping::to_CORBA (RTCORBA::NativePriority native_priority,
00034                                        RTCORBA::Priority &corba_priority)
00035 {
00036   corba_priority = native_priority;
00037   return true;
00038 }
00039 
00040 TAO_END_VERSIONED_NAMESPACE_DECL
00041 
00042 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */

Generated on Tue Feb 2 17:42:49 2010 for TAO_RTCORBA by  doxygen 1.4.7