2 //=============================================================================
4 * @file Priority_Mapping.h
6 * Declares the Priority_Mapping interface, as defined in the
9 * @author Carlos O'Ryan (coryan@cs.wustl.edu)
11 //=============================================================================
14 #ifndef TAO_PRIORITY_MAPPING_H
15 #define TAO_PRIORITY_MAPPING_H
16 #include /**/ "ace/pre.h"
18 #include "tao/orbconf.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
26 #include "tao/RTCORBA/RTCORBA_includeC.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 * @class TAO_Priority_Mapping
33 * @brief The interface for priority mapping.
35 * Check the RT-CORBA spec (orbos/99-02-12) secions 4.5.2
37 class TAO_RTCORBA_Export TAO_Priority_Mapping
41 virtual ~TAO_Priority_Mapping ();
43 virtual CORBA::Boolean
44 to_native (RTCORBA::Priority corba_priority
,
45 RTCORBA::NativePriority
&native_priority
) = 0;
46 virtual CORBA::Boolean
47 to_CORBA (RTCORBA::NativePriority native_priority
,
48 RTCORBA::Priority
&corba_priority
) = 0;
51 TAO_END_VERSIONED_NAMESPACE_DECL
53 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
55 #include /**/ "ace/post.h"
56 #endif /* TAO_PRIORITY_MAPPING_H */