max_Stream_Id_m.h 1.8 KB

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