sampleelt.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 31 行
HH
31 行
#ifndef SAMPLEPACKAGEELEMENT_HH#define SAMPLEPACKAGEELEMENT_HH/* * =c * SamplePackageElement() * =s debugging * demonstrates how to write a package * =d * * This is the only element in the `sample' package. It demonstrates how to * write an element that will be placed in a package. It does nothing except * report that the package was successfully loaded when it initializes. */#include <click/element.hh>class SamplePackageElement : public Element { public: SamplePackageElement(); // SEE sample.cc FOR CONSTRUCTOR ~SamplePackageElement(); // SEE sample.cc FOR DESTRUCTOR const char *class_name() const { return "SamplePackageElement"; } const char *processing() const { return AGNOSTIC; } int initialize(ErrorHandler *); void add_handlers(); };#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?