📄 errorelement.hh
字号:
// -*- 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -