// // Generated file, do not edit! Created by nedtool 5.4 from tictoc18.msg. // #if defined(__clang__) # pragma clang diagnostic ignored "-Wreserved-id-macro" #endif #ifndef __TICTOC18_M_H #define __TICTOC18_M_H #include // nedtool version check #define MSGC_VERSION 0x0504 #if (MSGC_VERSION!=OMNETPP_VERSION) # error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help. #endif class TicTocMsg18; /** * Class generated from tictoc18.msg:16 by nedtool. *
 * //
 * // Same as TictocMsg11
 * //
 * message TicTocMsg18
 * {
 *     int source;
 *     int destination;
 *     int hopCount = 0;
 * }
 * 
*/ class TicTocMsg18 : public ::omnetpp::cMessage { protected: int source = 0; int destination = 0; int hopCount = 0; private: void copy(const TicTocMsg18& other); protected: // protected and unimplemented operator==(), to prevent accidental usage bool operator==(const TicTocMsg18&); public: TicTocMsg18(const char *name=nullptr, short kind=0); TicTocMsg18(const TicTocMsg18& other); virtual ~TicTocMsg18(); TicTocMsg18& operator=(const TicTocMsg18& other); virtual TicTocMsg18 *dup() const override {return new TicTocMsg18(*this);} virtual void parsimPack(omnetpp::cCommBuffer *b) const override; virtual void parsimUnpack(omnetpp::cCommBuffer *b) override; // field getter/setter methods virtual int getSource() const; virtual void setSource(int source); virtual int getDestination() const; virtual void setDestination(int destination); virtual int getHopCount() const; virtual void setHopCount(int hopCount); }; inline void doParsimPacking(omnetpp::cCommBuffer *b, const TicTocMsg18& obj) {obj.parsimPack(b);} inline void doParsimUnpacking(omnetpp::cCommBuffer *b, TicTocMsg18& obj) {obj.parsimUnpack(b);} #endif // ifndef __TICTOC18_M_H