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

#if defined(__clang__)
#  pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#ifndef __BLOCKED_M_H
#define __BLOCKED_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/blocked.msg:19</tt> by nedtool.
 * <pre>
 * //
 * // TODO generated message class
 * //
 * class Blocked
 * {
 *     uint8_t type = 8;
 * }
 * </pre>
 */
class Blocked : public ::omnetpp::cObject
{
  protected:
    uint8_t type;

  private:
    void copy(const Blocked& other);

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

  public:
    Blocked();
    Blocked(const Blocked& other);
    virtual ~Blocked();
    Blocked& operator=(const Blocked& other);
    virtual Blocked *dup() const override {return new Blocked(*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);
};

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


#endif // ifndef __BLOCKED_M_H

