Priority_Mapping.h

Go to the documentation of this file.
00001 
00002 //=============================================================================
00003 /**
00004  *  @file   Priority_Mapping.h
00005  *
00006  *  $Id: Priority_Mapping.h 78627 2007-06-28 08:50:01Z johnnyw $
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 #include "tao/RTCORBA/RTCORBA_includeC.h"
00030 
00031 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00032 
00033 /**
00034  * @class TAO_Priority_Mapping
00035  *
00036  * @brief The interface for priority mapping.
00037  *
00038  * Check the RT-CORBA spec (orbos/99-02-12) secions 4.5.2
00039  */
00040 class TAO_RTCORBA_Export TAO_Priority_Mapping
00041 {
00042 public:
00043   /// The destructor
00044   virtual ~TAO_Priority_Mapping (void);
00045 
00046   virtual CORBA::Boolean
00047       to_native (RTCORBA::Priority corba_priority,
00048                  RTCORBA::NativePriority &native_priority) = 0;
00049   virtual CORBA::Boolean
00050       to_CORBA (RTCORBA::NativePriority native_priority,
00051                 RTCORBA::Priority &corba_priority) = 0;
00052 };
00053 
00054 TAO_END_VERSIONED_NAMESPACE_DECL
00055 
00056 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
00057 
00058 #include /**/ "ace/post.h"
00059 #endif /* TAO_PRIORITY_MAPPING_H */

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