?? 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 + -