//
// Generated file, do not edit! Created by opp_msgc 4.0 from mvb.msg.
//
#ifndef _MVB_M_H_
#define _MVB_M_H_
#include <omnetpp.h>
// opp_msgc version check
#define MSGC_VERSION 0x0400
#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 <tt>mvb.msg</tt> by opp_msgc.
* <pre>
* message mvb
* {
* int source;
* int destination;
* int hopCount = 0;
* }
* </pre>
*/
class mvb : public cMessage
{
protected:
int source_var;
int destination_var;
int hopCount_var;
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const mvb&);
public:
mvb(const char *name=NULL, int kind=0);
mvb(const mvb& other);
virtual ~mvb();
mvb& operator=(const mvb& other);
virtual mvb *dup() const {return new mvb(*this);}
virtual void parsimPack(cCommBuffer *b);
virtual void parsimUnpack(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, mvb& obj) {obj.parsimPack(b);}
inline void doUnpacking(cCommBuffer *b, mvb& obj) {obj.parsimUnpack(b);}
#endif // _MVB_M_H_