//
// Generated file, do not edit! Created by opp_msgc 4.1 from src/node/mobilityManager/MobilityManagerMessage.msg.
//

#ifndef _MOBILITYMANAGERMESSAGE_M_H_
#define _MOBILITYMANAGERMESSAGE_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/mobilityManager/MobilityManagerMessage.msg</tt> by opp_msgc.
 * <pre>
 * enum MobilityManagerMessageType {
 * 	MOBILITY_PERIODIC = 1;
 * }
 * </pre>
 */
enum MobilityManagerMessageType {
    MOBILITY_PERIODIC = 1
};

/**
 * Class generated from <tt>src/node/mobilityManager/MobilityManagerMessage.msg</tt> by opp_msgc.
 * <pre>
 * message MobilityManagerMessage {
 * 	double updateInterval;
 * 	double xCoorDestination;
 * 	double yCoorDestination;
 * 	double zCoorDestination;
 * 	double speed;
 * }
 * </pre>
 */
class MobilityManagerMessage : public ::cMessage
{
  protected:
    double updateInterval_var;
    double xCoorDestination_var;
    double yCoorDestination_var;
    double zCoorDestination_var;
    double speed_var;

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

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

    // field getter/setter methods
    virtual double getUpdateInterval() const;
    virtual void setUpdateInterval(double updateInterval_var);
    virtual double getXCoorDestination() const;
    virtual void setXCoorDestination(double xCoorDestination_var);
    virtual double getYCoorDestination() const;
    virtual void setYCoorDestination(double yCoorDestination_var);
    virtual double getZCoorDestination() const;
    virtual void setZCoorDestination(double zCoorDestination_var);
    virtual double getSpeed() const;
    virtual void setSpeed(double speed_var);
};

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


#endif // _MOBILITYMANAGERMESSAGE_M_H_
