⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scheduler_utilities.i

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 I
字号:
// ============================================================================
//
// Scheduler_Utilities.i,v 1.4 1999/01/04 18:58:24 cdgill Exp
//
// ============================================================================


// Construct a helper class instance from values for
// the fields of the IDL struct it wraps.

ACE_INLINE
ACE_RT_Info::ACE_RT_Info (const char* entry_point_,
                          RtecScheduler::Time worst_time_,
                          RtecScheduler::Time typical_time_,
                          RtecScheduler::Time cached_time_,
                          RtecScheduler::Period_t period_,
                          RtecScheduler::Importance_t importance_,
                          RtecScheduler::Quantum_t quantum_,
                          CORBA::Long threads_)
{
    // Cannot use the initialization list, as these are members of the wrapped base
    // class.  This wrapper class must assign them in the constructor body.
    this->entry_point = entry_point_;
    this->worst_case_execution_time = worst_time_;
    this->typical_execution_time = typical_time_;
    this->cached_execution_time = cached_time_;
    this->period = period_;
    this->importance = importance_;
    this->quantum = quantum_;
    this->threads = threads_;
}


// Construct a helper class instance from the IDL struct it wraps.

ACE_INLINE
ACE_RT_Info::ACE_RT_Info (const RtecScheduler::RT_Info& rt_info)
  :  RtecScheduler::RT_Info (rt_info)
{
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -