rst_stream_m.h 2.1 KB

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