//
// Generated file, do not edit! Created by opp_msgc 4.1 from src/world/physicalProcess/wiseMovingTarget/WiseMovingTargetMessage.msg.
//

#ifndef _WISEMOVINGTARGETMESSAGE_M_H_
#define _WISEMOVINGTARGETMESSAGE_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

// cplusplus {{
#include "WisePhysicalProcessMessage_m.h"
// }}



/**
 * Struct generated from src/world/physicalProcess/wiseMovingTarget/WiseMovingTargetMessage.msg by opp_msgc.
 */
struct WiseTargetBoundingBox
{
    WiseTargetBoundingBox();
    double x_tl;
    double y_tl;
    double z_tl;
    double x_br;
    double y_br;
    double z_br;
};

void doPacking(cCommBuffer *b, WiseTargetBoundingBox& a);
void doUnpacking(cCommBuffer *b, WiseTargetBoundingBox& a);

/**
 * Class generated from <tt>src/world/physicalProcess/wiseMovingTarget/WiseMovingTargetMessage.msg</tt> by opp_msgc.
 * <pre>
 * message WiseMovingTargetMessage extends WisePhysicalProcessMessage {
 * 	WiseTargetBoundingBox boundingBox;
 * 	unsigned int targetID;
 * 	bool visible = true;
 * }
 * </pre>
 */
class WiseMovingTargetMessage : public ::WisePhysicalProcessMessage
{
  protected:
    ::WiseTargetBoundingBox boundingBox_var;
    unsigned int targetID_var;
    bool visible_var;

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

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

    // field getter/setter methods
    virtual WiseTargetBoundingBox& getBoundingBox();
    virtual const WiseTargetBoundingBox& getBoundingBox() const {return const_cast<WiseMovingTargetMessage*>(this)->getBoundingBox();}
    virtual void setBoundingBox(const WiseTargetBoundingBox& boundingBox_var);
    virtual unsigned int getTargetID() const;
    virtual void setTargetID(unsigned int targetID_var);
    virtual bool getVisible() const;
    virtual void setVisible(bool visible_var);
};

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


#endif // _WISEMOVINGTARGETMESSAGE_M_H_
