blocked_m.h 1.5 KB

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