Network_Priority_Mapping.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file   Network_Priority_Mapping.h
00006  *
00007  *  $Id: Network_Priority_Mapping.h 79339 2007-08-14 17:49:17Z sowayaa $
00008  *
00009  *  Class that declares the Network Priority Mapping
00010  *  that can be overriden to provide different mappings
00011  *
00012  *
00013  *  @author Yamuna Krishnamurthy (yamuna@oomworks.com)
00014  */
00015 //=============================================================================
00016 
00017 
00018 #ifndef TAO_NETWORK_PRIORITY_MAPPING_H
00019 #define TAO_NETWORK_PRIORITY_MAPPING_H
00020 #include /**/ "ace/pre.h"
00021 
00022 #include "tao/orbconf.h"
00023 
00024 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00025 # pragma once
00026 #endif /* ACE_LACKS_PRAGMA_ONCE */
00027 
00028 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
00029 
00030 #include "tao/RTCORBA/RTCORBA_includeC.h"
00031 
00032 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00033 
00034 /**
00035  * @class TAO_Network_Priority_Mapping
00036  *
00037  * @brief The interface for priority mapping.
00038  *
00039  * Check the RT-CORBA spec (orbos/99-02-12) secions 4.5.2
00040  */
00041 class TAO_RTCORBA_Export TAO_Network_Priority_Mapping
00042 {
00043 public:
00044   /// The destructor
00045   virtual ~TAO_Network_Priority_Mapping (void);
00046 
00047   virtual CORBA::Boolean
00048     to_network (RTCORBA::Priority corba_priority,
00049                 RTCORBA::NetworkPriority &network_priority) = 0;
00050   virtual CORBA::Boolean
00051     to_CORBA (RTCORBA::NetworkPriority network_priority,
00052               RTCORBA::Priority &corba_priority) = 0;
00053 };
00054 
00055 TAO_END_VERSIONED_NAMESPACE_DECL
00056 
00057 #endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
00058 
00059 #include /**/ "ace/post.h"
00060 #endif /* TAO_NETWORK_PRIORITY_MAPPING_H */
00061 
00062 
00063 
00064 

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