priority_mapping.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 62 行
H
62 行
//=============================================================================
/**
* @file Priority_Mapping.h
*
* Priority_Mapping.h,v 1.4 2003/07/21 23:51:38 dhinton Exp
*
* Declares the Priority_Mapping interface, as defined in the
* RT-CORBA spec.
*
*
* @author Carlos O'Ryan (coryan@cs.wustl.edu)
*/
//=============================================================================
#ifndef TAO_PRIORITY_MAPPING_H
#define TAO_PRIORITY_MAPPING_H
#include /**/ "ace/pre.h"
#include "tao/orbconf.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
#define TAO_RTCORBA_SAFE_INCLUDE
#include "RTCORBAC.h"
#undef TAO_RTCORBA_SAFE_INCLUDE
/**
* @class TAO_Priority_Mapping
*
* @brief The interface for priority mapping.
*
* Check the RT-CORBA spec (orbos/99-02-12) secions 4.5.2
*/
class TAO_RTCORBA_Export TAO_Priority_Mapping
{
public:
/// The destructor
virtual ~TAO_Priority_Mapping (void);
virtual CORBA::Boolean
to_native (RTCORBA::Priority corba_priority,
RTCORBA::NativePriority &native_priority) = 0;
virtual CORBA::Boolean
to_CORBA (RTCORBA::NativePriority native_priority,
RTCORBA::Priority &corba_priority) = 0;
};
#if defined (__ACE_INLINE__)
# include "Priority_Mapping.i"
#endif /* __ACE_INLINE__ */
#endif /* TAO_HAS_CORBA_MESSAGING && TAO_HAS_CORBA_MESSAGING != 0 */
#include /**/ "ace/post.h"
#endif /* TAO_PRIORITY_MAPPING_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?