// // Generated file, do not edit! Created by nedtool 5.2 from Headers/long_Header.msg. // #if defined(__clang__) # pragma clang diagnostic ignored "-Wreserved-id-macro" #endif #ifndef __LONG_HEADER_M_H #define __LONG_HEADER_M_H #include // nedtool version check #define MSGC_VERSION 0x0502 #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 generated from Headers/long_Header.msg:19 by nedtool. *
 * //
 * // TODO generated message class
 * //
 * packet Long_Header
 * {
 *     uint8_t type;
 *     uint64_t CID;
 *     uint32_t PN;
 *     uint32_t version;
 * }
 * 
*/ class Long_Header : public ::omnetpp::cPacket { protected: uint8_t type; uint64_t CID; uint32_t PN; uint32_t version; private: void copy(const Long_Header& other); protected: // protected and unimplemented operator==(), to prevent accidental usage bool operator==(const Long_Header&); public: Long_Header(const char *name=nullptr, short kind=0); Long_Header(const Long_Header& other); virtual ~Long_Header(); Long_Header& operator=(const Long_Header& other); virtual Long_Header *dup() const override {return new Long_Header(*this);} virtual void parsimPack(omnetpp::cCommBuffer *b) const override; virtual void parsimUnpack(omnetpp::cCommBuffer *b) override; // field getter/setter methods virtual uint8_t getType() const; virtual void setType(uint8_t type); virtual uint64_t getCID() const; virtual void setCID(uint64_t CID); virtual uint32_t getPN() const; virtual void setPN(uint32_t PN); virtual uint32_t getVersion() const; virtual void setVersion(uint32_t version); }; inline void doParsimPacking(omnetpp::cCommBuffer *b, const Long_Header& obj) {obj.parsimPack(b);} inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Long_Header& obj) {obj.parsimUnpack(b);} #endif // ifndef __LONG_HEADER_M_H