📄 sink.h
字号:
//
// This file is part of an OMNeT++/OMNEST simulation example.
//
// Contributed by Nick van Foreest
//
// This file is distributed WITHOUT ANY WARRANTY. See the file
// `license' for details on this and other legal matters.
//
#ifndef __SINK_H
#define __SINK_H
#include <omnetpp.h>
/**
* Consumes packets; see NED file for more info.
*/
class Sink : public cSimpleModule
{
private:
cStdDev waitStats;
protected:
virtual void initialize();
virtual void handleMessage(cMessage *msg);
virtual void finish();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -