// // Generated file, do not edit! Created by nedtool 5.2 from Frames/stream.msg. // #if defined(__clang__) # pragma clang diagnostic ignored "-Wreserved-id-macro" #endif #ifndef __STREAM_M_H #define __STREAM_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 Frames/stream.msg:19 by nedtool. *
 * //
 * // TODO generated message class
 * //
 * class Stream
 * {
 *     uint8_t type;
 *     uint32_t stream_Id;
 *     uint64_t offset;
 *     uint16_t data_Length;
 *     string stream_Data;
 * }
 * 
*/ class Stream : public ::omnetpp::cObject { protected: uint8_t type; uint32_t stream_Id; uint64_t offset; uint16_t data_Length; ::omnetpp::opp_string stream_Data; private: void copy(const Stream& other); protected: // protected and unimplemented operator==(), to prevent accidental usage bool operator==(const Stream&); public: Stream(); Stream(const Stream& other); virtual ~Stream(); Stream& operator=(const Stream& other); virtual Stream *dup() const override {return new Stream(*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 uint32_t getStream_Id() const; virtual void setStream_Id(uint32_t stream_Id); virtual uint64_t getOffset() const; virtual void setOffset(uint64_t offset); virtual uint16_t getData_Length() const; virtual void setData_Length(uint16_t data_Length); virtual const char * getStream_Data() const; virtual void setStream_Data(const char * stream_Data); }; inline void doParsimPacking(omnetpp::cCommBuffer *b, const Stream& obj) {obj.parsimPack(b);} inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Stream& obj) {obj.parsimUnpack(b);} #endif // ifndef __STREAM_M_H