📄 paraq-timers.h~
字号:
#include "mac-timers.h"class ParaqWakeUPT: public MacTimer { friend class Mac802_11; friend class EnergyModel;public: ParaqWakeUPT(EnergyModel *nid, Mac802_11 *m) : MacTimer(m) { nid_=nid; mac=m; } inline double remainingtime() { return rtime; } // it gives remaining time till to expire void handle(Event *e);protected: EnergyModel *nid_; Mac802_11 *mac;};class ParaqGoSleepT: public MacTimer {public: ParaqGoSleepT(EnergyModel *nid, Mac802_11 *m) : MacTimer(m) { nid_=nid; mac=m; } void handle(Event *e);protected: EnergyModel *nid_; Mac802_11 *mac;};class ParaqWakeUPatBeacon: public MacTimer {public: ParaqWakeUPatBeacon(EnergyModel *nid, Mac802_11 *m) : MacTimer(m) { nid_=nid; mac=m;} void handle(Event *e);protected: EnergyModel *nid_; Mac802_11 *mac;};//@ FaZ
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -