max_Data_m.h 1.7 KB

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