rt_priority_mapping.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 55 行
H
55 行
/* -*- C++ -*- */
/**
* @file RT_Priority_Mapping.h
*
* RT_Priority_Mapping.h,v 1.4 2003/07/21 23:51:33 dhinton Exp
*
* @author Pradeep Gore <pradeep@oomworks.com>
*
*
*/
#ifndef TAO_Notify_Tests_RT_PRIORITY_MAPPING_H
#define TAO_Notify_Tests_RT_PRIORITY_MAPPING_H
#include /**/ "ace/pre.h"
#include "rt_notify_test_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "../lib/Priority_Mapping.h"
#include "tao/RTCORBA/Priority_Mapping_Manager.h"
/**
* @class TAO_Notify_Tests_RT_Priority_Mapping
*
* @brief Delegates to a RTCORBA::PriorityMapping
*
*/
class TAO_RT_NOTIFY_TEST_Export TAO_Notify_Tests_RT_Priority_Mapping : public TAO_Notify_Tests_Priority_Mapping
{
public:
/// The destructor
virtual ~TAO_Notify_Tests_RT_Priority_Mapping (void);
/// Init the Mapping manager.
void init (CORBA::ORB_ptr orb ACE_ENV_ARG_DECL);
virtual CORBA::Boolean
to_native (CORBA::Short corba_priority,
CORBA::Short &native_priority);
virtual CORBA::Boolean
to_CORBA (CORBA::Short native_priority,
CORBA::Short &corba_priority);
protected:
/// The Priority Mapping helper.
RTCORBA::PriorityMapping *priority_mapping_;
};
#include /**/ "ace/post.h"
#endif /* TAO_Notify_Tests_RT_PRIORITY_MAPPING_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?