123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- //
- // 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 <omnetpp.h>
- // 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 <tt>Packets/server_Cleartext.msg:31</tt> by nedtool.
- * <pre>
- * //
- * // TODO generated message class
- * //
- * packet Server_Cleartext
- * {
- * Streamptr stream_0;
- * Ackptr ack_0;
- * Paddingptr padding_0;
- * }
- * </pre>
- */
- 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<Server_Cleartext*>(this)->getStream_0();}
- virtual void setStream_0(const Streamptr& stream_0);
- virtual Ackptr& getAck_0();
- virtual const Ackptr& getAck_0() const {return const_cast<Server_Cleartext*>(this)->getAck_0();}
- virtual void setAck_0(const Ackptr& ack_0);
- virtual Paddingptr& getPadding_0();
- virtual const Paddingptr& getPadding_0() const {return const_cast<Server_Cleartext*>(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
|