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

📄 flow.h

📁 ACE自适配通信环境(ADAPTIVE Communication Environment)是可以自由使用、开放源码的面向对象(OO)框架(Framework)
💻 H
字号:
// file      : ace/RMCast/Flow.h// author    : Boris Kolpackov <boris@kolpackov.net>// cvs-id    : Flow.h,v 1.1 2005/07/11 18:50:23 boris Exp#ifndef ACE_RMCAST_FLOW_H#define ACE_RMCAST_FLOW_H#include "Stack.h"#include "Protocol.h"#include "Bits.h"#include "Parameters.h"namespace ACE_RMCast{  class Flow : public Element  {  public:    Flow (Parameters const& params);  public:    virtual void    send (Message_ptr m);    virtual void    recv (Message_ptr m);  private:    Parameters const& params_;    Mutex mutex_;    ACE_Time_Value nak_time_;    // Throughput sampling.    //    ACE_Time_Value sample_start_time_;    unsigned long sample_bytes_;    double current_tput_;    double cap_tput_;  };}#endif  // ACE_RMCAST_FLOW_H

⌨️ 快捷键说明

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