fp_scheduling.idl
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· IDL 代码 · 共 62 行
IDL
62 行
//FP_Scheduling.idl,v 1.5 2003/12/12 04:25:06 bala Exp
/**
* @file FP_Scheduling.idl
*
* FP_Scheduling.idl,v 1.5 2003/12/12 04:25:06 bala Exp
*
* @brief Pre-compiled IDL source to help with the service context
* propagation of dynamic scheduling parameters using Kokyu
*
* This file was used to generate the code in FP_SchedulingC.{h,i,cpp}.
* The steps to regenerate the code are as follows:
*
* 1. Run the tao_idl compiler on the pidl file. The command used for
* this is:
*
* tao_idl -I $TAO_ROOT -Ge 1
* -Wb,export_macro=Kokyu_DSRT_Schedulers_Export
* -Wb,export_include=Kokyu_dsrt_schedulers_export.h
*
*
* 2. Then apply the patches in FP_SchedulingC.h.diff to the generated code.
* The patch will replace the inclusion of RTCORBAC.h and RTSchedulerC.h
* with RTCORBA.h and RTScheduler.h respectively.
*
* Apply patches using the following command:
*
* patch < FP_SchedulingC.h.diff
*
* Note: The diff was generated in the following way:
*
* Run the idl compiler as in step 1.
* cp FP_SchedulingC.h FP_SchedulingC.h.orig
* Modify FP_SchedulingC.h with changes described in step 2.
* diff -wBbu FP_SchedulingC.h.orig FP_SchedulingC.h > FP_SchedulingC.h.diff
*
*/
#include <tao/RTScheduling/RTScheduler_include.pidl>
#include <tao/RTCORBA/RTCORBA_include.pidl>
module FP_Scheduling
{
struct SegmentSchedulingParameter
{
RTCORBA::Priority base_priority;
};
local interface SegmentSchedulingParameterPolicy
: CORBA::Policy
{
attribute SegmentSchedulingParameter value;
};
local interface FP_Scheduler : RTScheduling::Scheduler
{
SegmentSchedulingParameterPolicy
create_segment_scheduling_parameter
(in SegmentSchedulingParameter value);
};
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?