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

📄 cprobemsg_m.h

📁 simulation routing in wsn
💻 H
字号:
//
// Generated file, do not edit! Created by opp_msgc.
//

#ifndef CPROBEMSG_M_H_
#define CPROBEMSG_M_H_

#include <omnetpp.h>

class packet : public cMessage
{
  protected:
    double pdelay;
    int snode;
    int dnode;
    int hops;
    int nextnode[14];
  public:
    packet(const char *name=NULL, int kind=0);
    packet(const packet& other);
    virtual ~packet();
    packet& operator=(const packet& other);
    virtual cObject *dup() const {return new packet(*this);}

    // field getter/setter methods
    virtual double getPdelay() const;
    virtual void setPdelay(double pdelay);
    virtual int getSnode() const;
    virtual void setSnode(int snode);
    virtual int getDnode() const;
    virtual void setDnode(int dnode);
    virtual int getHops() const;
    virtual void setHops(int hops);
    virtual unsigned int getNextnodeArraySize() const;
    virtual int getNextnode(unsigned int k) const;
    virtual void setNextnode(unsigned int k, int nextnode);
};

#endif // CPROBEMSG_M_H_

⌨️ 快捷键说明

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