stop_Sending_m.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //
  2. // Generated file, do not edit! Created by nedtool 5.2 from Frames/stop_Sending.msg.
  3. //
  4. #if defined(__clang__)
  5. # pragma clang diagnostic ignored "-Wreserved-id-macro"
  6. #endif
  7. #ifndef __STOP_SENDING_M_H
  8. #define __STOP_SENDING_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. /**
  16. * Class generated from <tt>Frames/stop_Sending.msg:19</tt> by nedtool.
  17. * <pre>
  18. * //
  19. * // TODO generated message class
  20. * //
  21. * class Stop_Sending
  22. * {
  23. * uint8_t type = 12;
  24. * uint32_t stream_Id;
  25. * uint16_t application_Error_Code;
  26. * }
  27. * </pre>
  28. */
  29. class Stop_Sending : public ::omnetpp::cObject
  30. {
  31. protected:
  32. uint8_t type;
  33. uint32_t stream_Id;
  34. uint16_t application_Error_Code;
  35. private:
  36. void copy(const Stop_Sending& other);
  37. protected:
  38. // protected and unimplemented operator==(), to prevent accidental usage
  39. bool operator==(const Stop_Sending&);
  40. public:
  41. Stop_Sending();
  42. Stop_Sending(const Stop_Sending& other);
  43. virtual ~Stop_Sending();
  44. Stop_Sending& operator=(const Stop_Sending& other);
  45. virtual Stop_Sending *dup() const override {return new Stop_Sending(*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 uint8_t getType() const;
  50. virtual void setType(uint8_t type);
  51. virtual uint32_t getStream_Id() const;
  52. virtual void setStream_Id(uint32_t stream_Id);
  53. virtual uint16_t getApplication_Error_Code() const;
  54. virtual void setApplication_Error_Code(uint16_t application_Error_Code);
  55. };
  56. inline void doParsimPacking(omnetpp::cCommBuffer *b, const Stop_Sending& obj) {obj.parsimPack(b);}
  57. inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Stop_Sending& obj) {obj.parsimUnpack(b);}
  58. #endif // ifndef __STOP_SENDING_M_H