//
// Generated file, do not edit! Created by nedtool 5.2 from Frames/max_Data.msg.
//

#if defined(__clang__)
#  pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#ifndef __MAX_DATA_M_H
#define __MAX_DATA_M_H

#include <omnetpp.h>

// nedtool version check
#define MSGC_VERSION 0x0502
#if (MSGC_VERSION!=OMNETPP_VERSION)
#    error Version mismatch! Probably this file was generated by an earlier version of nedtool: 'make clean' should help.
#endif



/**
 * Class generated from <tt>Frames/max_Data.msg:19</tt> by nedtool.
 * <pre>
 * //
 * // TODO generated message class
 * //
 * class Max_Data
 * {
 *     uint8_t type = 4;
 *     uint64_t maximum_Data;
 * }
 * </pre>
 */
class Max_Data : public ::omnetpp::cObject
{
  protected:
    uint8_t type;
    uint64_t maximum_Data;

  private:
    void copy(const Max_Data& other);

  protected:
    // protected and unimplemented operator==(), to prevent accidental usage
    bool operator==(const Max_Data&);

  public:
    Max_Data();
    Max_Data(const Max_Data& other);
    virtual ~Max_Data();
    Max_Data& operator=(const Max_Data& other);
    virtual Max_Data *dup() const override {return new Max_Data(*this);}
    virtual void parsimPack(omnetpp::cCommBuffer *b) const override;
    virtual void parsimUnpack(omnetpp::cCommBuffer *b) override;

    // field getter/setter methods
    virtual uint8_t getType() const;
    virtual void setType(uint8_t type);
    virtual uint64_t getMaximum_Data() const;
    virtual void setMaximum_Data(uint64_t maximum_Data);
};

inline void doParsimPacking(omnetpp::cCommBuffer *b, const Max_Data& obj) {obj.parsimPack(b);}
inline void doParsimUnpacking(omnetpp::cCommBuffer *b, Max_Data& obj) {obj.parsimUnpack(b);}


#endif // ifndef __MAX_DATA_M_H

