errorelement.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 38 行
HH
38 行
// -*- c-basic-offset: 4; related-file-name: "../../../elements/standard/errorelement.cc" -*-#ifndef CLICK_ERRORELEMENT_HH#define CLICK_ERRORELEMENT_HH#include <click/element.hh>CLICK_DECLS/* * =c * Error(...) * =s debugging * always fails * =d * The Error element always fails to initialize. It has any number of inputs * and outputs, and accepts any configuration string without complaint. It is * useful to prevent a router from initializing while avoiding * spurious error messages about bad configuration strings or connections. * =a Message */class ErrorElement : public Element { public: ErrorElement(); ~ErrorElement(); const char *class_name() const { return "Error"; } const char *processing() const { return AGNOSTIC; } const char *flow_code() const { return "x/y"; } void notify_ninputs(int); void notify_noutputs(int); int configure(Vector<String> &, ErrorHandler *); int initialize(ErrorHandler *); };CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?