Priority_Mapping.h

Go to the documentation of this file.
00001 
00002 //=============================================================================
00003 /**
00004  *  @file   Priority_Mapping.h
00005  *
00006  *  Priority_Mapping.h,v 1.7 2006/03/10 07:19:16 jtc Exp
00007  *
00008  * Declares the Priority_Mapping interface, as defined in the
00009  * RT-CORBA spec.
00010  *
00011  *
00012  *  @author Carlos O'Ryan (coryan@cs.wustl.edu)
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 /* ACE_LACKS_PRAGMA_ONCE */
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  * @class TAO_Priority_Mapping
00037  *
00038  * @brief The interface for priority mapping.
00039  *
00040  * Check the RT-CORBA spec (orbos/99-02-12) secions 4.5.2
00041  */
00042 class TAO_RTCORBA_Export TAO_Priority_Mapping
00043 {
00044 public:
00045   /// The destructor
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 /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
00059 
00060 #include /**/ "ace/post.h"
00061 #endif /* TAO_PRIORITY_MAPPING_H */

Generated on Thu Nov 9 12:58:00 2006 for TAO_RTCORBA by doxygen 1.3.6