// // Generated file, do not edit! Created by opp_msgc 3.4 from ./SpoVNetOmnetMessage.msg. // #ifndef _ARIBAOMNETMESSAGE_M_H_ #define _ARIBAOMNETMESSAGE_M_H_ #include // opp_msgc version check #define MSGC_VERSION 0x0304 #if (MSGC_VERSION!=OMNETPP_VERSION) # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help. #endif /** * Class generated from ./AribaOmnetMessage.msg by opp_msgc. *
 * message AribaOmnetMessage
 * {
 * 	fields:
 * 		unsigned int port;
 * 		unsigned char data[];
 * }
 * 
*/ class AribaOmnetMessage : public cMessage { protected: unsigned int port_var; unsigned char *data_var; // array ptr unsigned int data_arraysize; // protected and unimplemented operator==(), to prevent accidental usage bool operator==(const AribaOmnetMessage&); public: AribaOmnetMessage(const char *name=NULL, int kind=0); AribaOmnetMessage(const AribaOmnetMessage& other); virtual ~AribaOmnetMessage(); AribaOmnetMessage& operator=(const AribaOmnetMessage& other); virtual cPolymorphic *dup() const {return new AribaOmnetMessage(*this);} virtual void netPack(cCommBuffer *b); virtual void netUnpack(cCommBuffer *b); // field getter/setter methods virtual unsigned int getPort() const; virtual void setPort(unsigned int port_var); virtual void setDataArraySize(unsigned int size); virtual unsigned int getDataArraySize() const; virtual unsigned char getData(unsigned int k) const; virtual void setData(unsigned int k, unsigned char data_var); }; inline void doPacking(cCommBuffer *b, AribaOmnetMessage& obj) {obj.netPack(b);} inline void doUnpacking(cCommBuffer *b, AribaOmnetMessage& obj) {obj.netUnpack(b);} #endif // _ARIBAOMNETMESSAGE_M_H_