flow.h
来自「最新的版本ACE-5.6.8,刚从外文网上搬下,与大家分享.」· C头文件 代码 · 共 44 行
H
44 行
// file : ace/RMCast/Flow.h
// author : Boris Kolpackov <boris@kolpackov.net>
// cvs-id : $Id: Flow.h 80826 2008-03-04 14:51:23Z wotte $
#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 + =
减小字号Ctrl + -
显示快捷键?