//
// Generated file, do not edit! Created by opp_msgc 4.1 from src/node/communication/routing/multipathRingsRouting/MultipathRingsRoutingControl.msg.
//

#ifndef _MULTIPATHRINGSROUTINGCONTROL_M_H_
#define _MULTIPATHRINGSROUTINGCONTROL_M_H_

#include <omnetpp.h>

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



/**
 * Enum generated from <tt>src/node/communication/routing/multipathRingsRouting/MultipathRingsRoutingControl.msg</tt> by opp_msgc.
 * <pre>
 * enum multipathRingsRoutingControlDef {
 * 	MPRINGS_NOT_CONNECTED = 1;
 * 	MPRINGS_CONNECTED_TO_TREE = 2;
 * 	MPRINGS_TREE_LEVEL_UPDATED = 3;
 * }
 * </pre>
 */
enum multipathRingsRoutingControlDef {
    MPRINGS_NOT_CONNECTED = 1,
    MPRINGS_CONNECTED_TO_TREE = 2,
    MPRINGS_TREE_LEVEL_UPDATED = 3
};

/**
 * Class generated from <tt>src/node/communication/routing/multipathRingsRouting/MultipathRingsRoutingControl.msg</tt> by opp_msgc.
 * <pre>
 * message MultipathRingsRoutingControlMessage {
 * 	int multipathRingsRoutingControlMessageKind enum (multipathRingsRoutingControlDef);
 * 	int sinkID;
 * 	int level;
 * }
 * </pre>
 */
class MultipathRingsRoutingControlMessage : public ::cMessage
{
  protected:
    int multipathRingsRoutingControlMessageKind_var;
    int sinkID_var;
    int level_var;

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

  public:
    MultipathRingsRoutingControlMessage(const char *name=NULL, int kind=0);
    MultipathRingsRoutingControlMessage(const MultipathRingsRoutingControlMessage& other);
    virtual ~MultipathRingsRoutingControlMessage();
    MultipathRingsRoutingControlMessage& operator=(const MultipathRingsRoutingControlMessage& other);
    virtual MultipathRingsRoutingControlMessage *dup() const {return new MultipathRingsRoutingControlMessage(*this);}
    virtual void parsimPack(cCommBuffer *b);
    virtual void parsimUnpack(cCommBuffer *b);

    // field getter/setter methods
    virtual int getMultipathRingsRoutingControlMessageKind() const;
    virtual void setMultipathRingsRoutingControlMessageKind(int multipathRingsRoutingControlMessageKind_var);
    virtual int getSinkID() const;
    virtual void setSinkID(int sinkID_var);
    virtual int getLevel() const;
    virtual void setLevel(int level_var);
};

inline void doPacking(cCommBuffer *b, MultipathRingsRoutingControlMessage& obj) {obj.parsimPack(b);}
inline void doUnpacking(cCommBuffer *b, MultipathRingsRoutingControlMessage& obj) {obj.parsimUnpack(b);}


#endif // _MULTIPATHRINGSROUTINGCONTROL_M_H_
