00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef TAO_PRIORITY_MAPPING_H
00018 #define TAO_PRIORITY_MAPPING_H
00019 #include "ace/pre.h"
00020
00021 #include "tao/orbconf.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
00028
00029 #define TAO_RTCORBA_SAFE_INCLUDE
00030 #include "tao/RTCORBA/RTCORBAC.h"
00031 #undef TAO_RTCORBA_SAFE_INCLUDE
00032
00033 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00034
00035
00036
00037
00038
00039
00040
00041
00042 class TAO_RTCORBA_Export TAO_Priority_Mapping
00043 {
00044 public:
00045
00046 virtual ~TAO_Priority_Mapping (void);
00047
00048 virtual CORBA::Boolean
00049 to_native (RTCORBA::Priority corba_priority,
00050 RTCORBA::NativePriority &native_priority) = 0;
00051 virtual CORBA::Boolean
00052 to_CORBA (RTCORBA::NativePriority native_priority,
00053 RTCORBA::Priority &corba_priority) = 0;
00054 };
00055
00056 TAO_END_VERSIONED_NAMESPACE_DECL
00057
00058 #endif
00059
00060 #include "ace/post.h"
00061 #endif