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

#if defined(__clang__)
#  pragma clang diagnostic ignored "-Wreserved-id-macro"
#endif
#ifndef __RST_STREAM_M_H
#define __RST_STREAM_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/rst_stream.msg:19</tt> by nedtool.
 * <pre>
 * //
 * // TODO generated message class
 * //
 * class Rst_stream
 * {
 *     uint8_t type = 1;
 *     uint32_t stream_Id;
 *     uint16_t application_Error_Code;
 *     double final_Offset;
 * }
 * </pre>
 */
class Rst_stream : public ::omnetpp::cObject
{
  protected:
    uint8_t type;
    uint32_t stream_Id;
    uint16_t application_Error_Code;
    double final_Offset;

  private:
    void copy(const Rst_stream& other);

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

  public:
    Rst_stream();
    Rst_stream(const Rst_stream& other);
    virtual ~Rst_stream();
    Rst_stream& operator=(const Rst_stream& other);
    virtual Rst_stream *dup() const override {return new Rst_stream(*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 uint32_t getStream_Id() const;
    virtual void setStream_Id(uint32_t stream_Id);
    virtual uint16_t getApplication_Error_Code() const;
    virtual void setApplication_Error_Code(uint16_t application_Error_Code);
    virtual double getFinal_Offset() const;
    virtual void setFinal_Offset(double final_Offset);
};

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


#endif // ifndef __RST_STREAM_M_H

