server_Cleartext_m.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //
  2. // Generated file, do not edit! Created by nedtool 5.2 from Packets/server_Cleartext.msg.
  3. //
  4. #if defined(__clang__)
  5. # pragma clang diagnostic ignored "-Wreserved-id-macro"
  6. #endif
  7. #ifndef __SERVER_CLEARTEXT_M_H
  8. #define __SERVER_CLEARTEXT_M_H
  9. #include <omnetpp.h>
  10. // nedtool version check
  11. #define MSGC_VERSION 0x0502
  12. #if (MSGC_VERSION!=OMNETPP_VERSION)
  13. # error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help.
  14. #endif
  15. // cplusplus {{
  16. #include "Frames/stream_m.h"
  17. #include "Frames/ack_m.h"
  18. #include "Frames/padding_m.h"
  19. // }}
  20. /**
  21. * Class generated from <tt>Packets/server_Cleartext.msg:28</tt> by nedtool.
  22. * <pre>
  23. * //
  24. * // TODO generated message class
  25. * //
  26. * packet Server_Cleartext
  27. * {
  28. * Stream stream_0;
  29. * Ack ack_0;
  30. * Padding padding_0;
  31. * }
  32. * </pre>
  33. */
  34. class Server_Cleartext : public ::omnetpp::cPacket
  35. {
  36. protected:
  37. Stream stream_0;
  38. Ack ack_0;
  39. Padding padding_0;
  40. private:
  41. void copy(const Server_Cleartext& other);
  42. protected:
  43. // protected and unimplemented operator==(), to prevent accidental usage
  44. bool operator==(const Server_Cleartext&);
  45. public:
  46. Server_Cleartext(const char *name=nullptr, short kind=0);
  47. Server_Cleartext(const Server_Cleartext& other);
  48. virtual ~Server_Cleartext();
  49. Server_Cleartext& operator=(const Server_Cleartext& other);
  50. virtual Server_Cleartext *dup() const override {return new Server_Cleartext(*this);}
  51. virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
  52. virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;
  53. // field getter/setter methods
  54. virtual Stream& getStream_0();
  55. virtual const Stream& getStream_0() const {return const_cast<Server_Cleartext*>(this)->getStream_0();}
  56. virtual void setStream_0(const Stream& stream_0);
  57. virtual Ack& getAck_0();
  58. virtual const Ack& getAck_0() const {return const_cast<Server_Cleartext*>(this)->getAck_0();}
  59. virtual void setAck_0(const Ack& ack_0);
  60. virtual Padding& getPadding_0();
  61. virtual const Padding& getPadding_0() const {return const_cast<Server_Cleartext*>(this)->getPadding_0();}
  62. virtual void setPadding_0(const Padding& padding_0);
  63. };
  64. inline void doParsimPacking(omnetpp::cCommBuffer *b, const Server_Cleartext& obj) {obj.parsimPack(b);}
  65. inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Server_Cleartext& obj) {obj.parsimUnpack(b);}
  66. #endif // ifndef __SERVER_CLEARTEXT_M_H