Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTCORBA / Priority_Mapping.h
blob3dad6c4742c8115ab57646d2017cf5517dfbf831
2 //=============================================================================
3 /**
4 * @file Priority_Mapping.h
6 * Declares the Priority_Mapping interface, as defined in the
7 * RT-CORBA spec.
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)
21 # 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
30 /**
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
39 public:
40 /// The destructor
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 */