client_Initial_m.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //
  2. // Generated file, do not edit! Created by nedtool 5.2 from Packets/client_Initial.msg.
  3. //
  4. #if defined(__clang__)
  5. # pragma clang diagnostic ignored "-Wreserved-id-macro"
  6. #endif
  7. #ifndef __CLIENT_INITIAL_M_H
  8. #define __CLIENT_INITIAL_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. typedef Stream* Streamptr;
  18. // }}
  19. /**
  20. * Class generated from <tt>Packets/client_Initial.msg:25</tt> by nedtool.
  21. * <pre>
  22. * //
  23. * // TODO generated message class
  24. * //
  25. * packet Client_Initial
  26. * {
  27. * Streamptr stream_0;
  28. * }
  29. * </pre>
  30. */
  31. class Client_Initial : public ::omnetpp::cPacket
  32. {
  33. protected:
  34. Streamptr stream_0;
  35. private:
  36. void copy(const Client_Initial& other);
  37. protected:
  38. // protected and unimplemented operator==(), to prevent accidental usage
  39. bool operator==(const Client_Initial&);
  40. public:
  41. Client_Initial(const char *name=nullptr, short kind=0);
  42. Client_Initial(const Client_Initial& other);
  43. virtual ~Client_Initial();
  44. Client_Initial& operator=(const Client_Initial& other);
  45. virtual Client_Initial *dup() const override {return new Client_Initial(*this);}
  46. virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
  47. virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;
  48. // field getter/setter methods
  49. virtual Streamptr& getStream_0();
  50. virtual const Streamptr& getStream_0() const {return const_cast<Client_Initial*>(this)->getStream_0();}
  51. virtual void setStream_0(const Streamptr& stream_0);
  52. };
  53. inline void doParsimPacking(omnetpp::cCommBuffer *b, const Client_Initial& obj) {obj.parsimPack(b);}
  54. inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Client_Initial& obj) {obj.parsimUnpack(b);}
  55. #endif // ifndef __CLIENT_INITIAL_M_H