stream_Id_Blocked_m.h 1.7 KB

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