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

📄 staticpullswitch.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_STATICPULLSWITCH_HH#define CLICK_STATICPULLSWITCH_HH#include <click/element.hh>CLICK_DECLS/* * =c * StaticPullSwitch(K) * =s packet scheduling * forwards pull requests to fixed input * =d * * On every pull, StaticPullSwitch returns the packet pulled from one of its * input ports -- specifically, input number K. Negative Ks mean always return * a null packet. StaticPullSwitch has an unlimited number of inputs. * * =n * * StaticPullSwitch differs from PullSwitch in that it has no C<switch> write * handler, and thus does not allow K to be changed at run time. * * =a PullSwitch, PrioSched, RoundRobinSched, StrideSched, Switch */class StaticPullSwitch : public Element {  int _input;   public:    StaticPullSwitch();  ~StaticPullSwitch();    const char *class_name() const		{ return "StaticPullSwitch"; }  const char *processing() const		{ return PULL; }    void notify_ninputs(int);  int configure(Vector<String> &, ErrorHandler *);    Packet *pull(int);  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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