server_Cleartext_m.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. typedef Stream* Streamptr;
  20. typedef Ack* Ackptr;
  21. typedef Padding* Paddingptr;
  22. // }}
  23. /**
  24. * Class generated from <tt>Packets/server_Cleartext.msg:31</tt> by nedtool.
  25. * <pre>
  26. * //
  27. * // TODO generated message class
  28. * //
  29. * packet Server_Cleartext
  30. * {
  31. * Streamptr stream_0;
  32. * Ackptr ack_0;
  33. * Paddingptr padding_0;
  34. * }
  35. * </pre>
  36. */
  37. class Server_Cleartext : public ::omnetpp::cPacket
  38. {
  39. protected:
  40. Streamptr stream_0;
  41. Ackptr ack_0;
  42. Paddingptr padding_0;
  43. private:
  44. void copy(const Server_Cleartext& other);
  45. protected:
  46. // protected and unimplemented operator==(), to prevent accidental usage
  47. bool operator==(const Server_Cleartext&);
  48. public:
  49. Server_Cleartext(const char *name=nullptr, short kind=0);
  50. Server_Cleartext(const Server_Cleartext& other);
  51. virtual ~Server_Cleartext();
  52. Server_Cleartext& operator=(const Server_Cleartext& other);
  53. virtual Server_Cleartext *dup() const override {return new Server_Cleartext(*this);}
  54. virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
  55. virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;
  56. // field getter/setter methods
  57. virtual Streamptr& getStream_0();
  58. virtual const Streamptr& getStream_0() const {return const_cast<Server_Cleartext*>(this)->getStream_0();}
  59. virtual void setStream_0(const Streamptr& stream_0);
  60. virtual Ackptr& getAck_0();
  61. virtual const Ackptr& getAck_0() const {return const_cast<Server_Cleartext*>(this)->getAck_0();}
  62. virtual void setAck_0(const Ackptr& ack_0);
  63. virtual Paddingptr& getPadding_0();
  64. virtual const Paddingptr& getPadding_0() const {return const_cast<Server_Cleartext*>(this)->getPadding_0();}
  65. virtual void setPadding_0(const Paddingptr& padding_0);
  66. };
  67. inline void doParsimPacking(omnetpp::cCommBuffer *b, const Server_Cleartext& obj) {obj.parsimPack(b);}
  68. inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Server_Cleartext& obj) {obj.parsimUnpack(b);}
  69. #endif // ifndef __SERVER_CLEARTEXT_M_H