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