⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pnc_standard.h

📁 ns2.31下的UWB(Ultra WideBand)实现
💻 H
字号:
#ifndef PNC_STANDARD_H#define PNC_STANDARD_H#include "WiMedia_pnc.h"class PNCStandard : public IPNCScheduler {public:	PNCStandard(PNC* pnc);	// ~PNCStandard();	bool RequestGTS(int dev_id, int flowid, int duration, const char* traffic_type, const char* ack_type);	virtual void StartBeaconing(BeaconTimer2 *beaconTimer);	virtual void OnBeaconTimer(BeaconTimer2 *beaconTimer);	virtual void ProcessPacket(Packet *p);	virtual int ExecuteCommand(int argc, const char*const* argv);	virtual void PrintTitle();protected:	PNC* pnc_;	int flow_count_;	//number fo total flows;	int superframe_size_;	// size of the superfraem excluding the beacon in us	int current_util_;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -