stream_Blocked_m.h 1.8 KB

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