// // Generated file, do not edit! Created by nedtool 5.2 from Packets/server_Cleartext.msg. // #if defined(__clang__) # pragma clang diagnostic ignored "-Wreserved-id-macro" #endif #ifndef __SERVER_CLEARTEXT_M_H #define __SERVER_CLEARTEXT_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 // cplusplus {{ #include "Frames/stream_m.h" #include "Frames/ack_m.h" #include "Frames/padding_m.h" typedef Stream* Streamptr; typedef Ack* Ackptr; typedef Padding* Paddingptr; // }} /** * Class generated from Packets/server_Cleartext.msg:31 by nedtool. *
 * //
 * // TODO generated message class
 * //
 * packet Server_Cleartext
 * {
 *     Streamptr stream_0;
 *     Ackptr ack_0;
 *     Paddingptr padding_0;
 * }
 * 
*/ class Server_Cleartext : public ::omnetpp::cPacket { protected: Streamptr stream_0; Ackptr ack_0; Paddingptr padding_0; private: void copy(const Server_Cleartext& other); protected: // protected and unimplemented operator==(), to prevent accidental usage bool operator==(const Server_Cleartext&); public: Server_Cleartext(const char *name=nullptr, short kind=0); Server_Cleartext(const Server_Cleartext& other); virtual ~Server_Cleartext(); Server_Cleartext& operator=(const Server_Cleartext& other); virtual Server_Cleartext *dup() const override {return new Server_Cleartext(*this);} virtual void parsimPack(omnetpp::cCommBuffer *b) const override; virtual void parsimUnpack(omnetpp::cCommBuffer *b) override; // field getter/setter methods virtual Streamptr& getStream_0(); virtual const Streamptr& getStream_0() const {return const_cast(this)->getStream_0();} virtual void setStream_0(const Streamptr& stream_0); virtual Ackptr& getAck_0(); virtual const Ackptr& getAck_0() const {return const_cast(this)->getAck_0();} virtual void setAck_0(const Ackptr& ack_0); virtual Paddingptr& getPadding_0(); virtual const Paddingptr& getPadding_0() const {return const_cast(this)->getPadding_0();} virtual void setPadding_0(const Paddingptr& padding_0); }; inline void doParsimPacking(omnetpp::cCommBuffer *b, const Server_Cleartext& obj) {obj.parsimPack(b);} inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Server_Cleartext& obj) {obj.parsimUnpack(b);} #endif // ifndef __SERVER_CLEARTEXT_M_H