phy_packet_m.h

来自「基于Oment++的无线传感器网络仿真」· C头文件 代码 · 共 33 行

H
33
字号
//// Generated file, do not edit! Created by opp_msgc.//#ifndef PHY_PACKET_M_H_#define PHY_PACKET_M_H_#include <omnetpp.h>struct sPhy_Header{    unsigned int SourceNodeAddress;    unsigned int DestinationNodeAddress;};class cPhy_Packet : public cMessage{  protected:    sPhy_Header hdr;  public:    cPhy_Packet(const char *name=NULL, int kind=0);    cPhy_Packet(const cPhy_Packet& other);    virtual ~cPhy_Packet();    cPhy_Packet& operator=(const cPhy_Packet& other);    virtual cObject *dup() const {return new cPhy_Packet(*this);}    // field getter/setter methods    virtual sPhy_Header& getHdr();    virtual void setHdr(const sPhy_Header& hdr);};#endif // PHY_PACKET_M_H_

⌨️ 快捷键说明

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