📄 tictoc10_m.h
字号:
//
// Generated file, do not edit! Created by opp_msgc from tictoc10.msg.
//
#ifndef _TICTOC10_M_H_
#define _TICTOC10_M_H_
#include <omnetpp.h>
/**
* Class generated from <tt>tictoc10.msg</tt> by opp_msgc.
* <pre>
* message TicTocMsg10
* {
* fields:
* int source;
* int destination;
* int hopCount = 0;
* }
* </pre>
*/
class TicTocMsg10 : public cMessage
{
protected:
int source_var;
int destination_var;
int hopCount_var;
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const TicTocMsg10&);
public:
TicTocMsg10(const char *name=NULL, int kind=0);
TicTocMsg10(const TicTocMsg10& other);
virtual ~TicTocMsg10();
TicTocMsg10& operator=(const TicTocMsg10& other);
virtual cPolymorphic *dup() const {return new TicTocMsg10(*this);}
virtual void netPack(cCommBuffer *b);
virtual void netUnpack(cCommBuffer *b);
// field getter/setter methods
virtual int getSource() const;
virtual void setSource(int source_var);
virtual int getDestination() const;
virtual void setDestination(int destination_var);
virtual int getHopCount() const;
virtual void setHopCount(int hopCount_var);
};
inline void doPacking(cCommBuffer *b, TicTocMsg10& obj) {obj.netPack(b);}
inline void doUnpacking(cCommBuffer *b, TicTocMsg10& obj) {obj.netUnpack(b);}
#endif // _TICTOC10_M_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -