// // Generated file, do not edit! Created by nedtool 5.4 from tictoc16.msg. // #if defined(__clang__) # pragma clang diagnostic ignored "-Wreserved-id-macro" #endif #ifndef __TICTOC16_M_H #define __TICTOC16_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 TicTocMsg16; /** * Class generated from tictoc16.msg:16 by nedtool. *
 * //
 * // Same as TictocMsg11
 * //
 * message TicTocMsg16
 * {
 *     int source;
 *     int destination;
 *     int hopCount = 0;
 * }
 * 
*/ class TicTocMsg16 : public ::omnetpp::cMessage { protected: int source = 0; int destination = 0; int hopCount = 0; private: void copy(const TicTocMsg16& other); protected: // protected and unimplemented operator==(), to prevent accidental usage bool operator==(const TicTocMsg16&); public: TicTocMsg16(const char *name=nullptr, short kind=0); TicTocMsg16(const TicTocMsg16& other); virtual ~TicTocMsg16(); TicTocMsg16& operator=(const TicTocMsg16& other); virtual TicTocMsg16 *dup() const override {return new TicTocMsg16(*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 TicTocMsg16& obj) {obj.parsimPack(b);} inline void doParsimUnpacking(omnetpp::cCommBuffer *b, TicTocMsg16& obj) {obj.parsimUnpack(b);} #endif // ifndef __TICTOC16_M_H