//
// Generated file, do not edit! Created by opp_msgc 3.3 from wmaxmsg.msg.
//
#ifndef _WMAXMSG_M_H_
#define _WMAXMSG_M_H_
#include <omnetpp.h>
// opp_msgc version check
#define MSGC_VERSION 0x0303
#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 {{ ... }} section:
#include "wmaxmsg.h"
// end cplusplus
/**
* Class generated from <tt>wmaxmsg.msg</tt> by opp_msgc.
* <pre>
* class WMaxMacHeader
* {
* properties:
* customize=true;
* fields:
* abstract int cid;
* abstract bool ht;
* abstract int bwr;
* };
* </pre>
*
* WMaxMacHeader_Base is only useful if it gets subclassed, and WMaxMacHeader is derived from it.
* The minimum code to be written for WMaxMacHeader is the following:
*
* <pre>
* class WMaxMacHeader : public WMaxMacHeader_Base
* {
* public:
* WMaxMacHeader() : WMaxMacHeader_Base() {}
* WMaxMacHeader(const WMaxMacHeader& other) : WMaxMacHeader_Base() {operator=(other);}
* WMaxMacHeader& operator=(const WMaxMacHeader& other) {WMaxMacHeader_Base::operator=(other); return *this;}
* // ADD CODE HERE to redefine and implement pure virtual functions from WMaxMacHeader_Base
* };
* </pre>
*/
class WMaxMacHeader_Base : public cPolymorphic
{
protected:
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const WMaxMacHeader_Base&);
// make constructors protected to avoid instantiation
WMaxMacHeader_Base();
WMaxMacHeader_Base(const WMaxMacHeader_Base& other);
// make assignment operator protected to force the user override it
WMaxMacHeader_Base& operator=(const WMaxMacHeader_Base& other);
public:
virtual ~WMaxMacHeader_Base();
virtual void netPack(cCommBuffer *b);
virtual void netUnpack(cCommBuffer *b);
// field getter/setter methods
virtual int getCid() const = 0;
virtual void setCid(int cid_var) = 0;
virtual bool getHt() const = 0;
virtual void setHt(bool ht_var) = 0;
virtual int getBwr() const = 0;
virtual void setBwr(int bwr_var) = 0;
};
/**
* Class generated from <tt>wmaxmsg.msg</tt> by opp_msgc.
* <pre>
* message WMaxMsgDlMap
* {
* fields:
* WMaxDlMapIE IE[];
* };
* </pre>
*/
class WMaxMsgDlMap : public cMessage
{
protected:
WMaxDlMapIE *IE_var; // array ptr
unsigned int IE_arraysize;
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const WMaxMsgDlMap&);
public:
WMaxMsgDlMap(const char *name=NULL, int kind=0);
WMaxMsgDlMap(const WMaxMsgDlMap& other);
virtual ~WMaxMsgDlMap();
WMaxMsgDlMap& operator=(const WMaxMsgDlMap& other);
virtual cPolymorphic *dup() const {return new WMaxMsgDlMap(*this);}
virtual void netPack(cCommBuffer *b);
virtual void netUnpack(cCommBuffer *b);
// field getter/setter methods
virtual void setIEArraySize(unsigned int size);
virtual unsigned int getIEArraySize() const;
virtual WMaxDlMapIE& getIE(unsigned int k);
virtual const WMaxDlMapIE& getIE(unsigned int k) const {return const_cast<WMaxMsgDlMap*>(this)->getIE(k);}
virtual void setIE(unsigned int k, const WMaxDlMapIE& IE_var);
};
inline void doPacking(cCommBuffer *b, WMaxMsgDlMap& obj) {obj.netPack(b);}
inline void doUnpacking(cCommBuffer *b, WMaxMsgDlMap& obj) {obj.netUnpack(b);}
/**
* Class generated from <tt>wmaxmsg.msg</tt> by opp_msgc.
* <pre>
* message WMaxMsgUlMap
* {
* fields:
* WMaxUlMapIE IE[];
* };
* </pre>
*/
class WMaxMsgUlMap : public cMessage
{
protected:
WMaxUlMapIE *IE_var; // array ptr
unsigned int IE_arraysize;
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const WMaxMsgUlMap&);
public:
WMaxMsgUlMap(const char *name=NULL, int kind=0);
WMaxMsgUlMap(const WMaxMsgUlMap& other);
virtual ~WMaxMsgUlMap();
WMaxMsgUlMap& operator=(const WMaxMsgUlMap& other);
virtual cPolymorphic *dup() const {return new WMaxMsgUlMap(*this);}
virtual void netPack(cCommBuffer *b);
virtual void netUnpack(cCommBuffer *b);
// field getter/setter methods
virtual void setIEArraySize(unsigned int size);
virtual unsigned int getIEArraySize() const;
virtual WMaxUlMapIE& getIE(unsigned int k);
virtual const WMaxUlMapIE& getIE(unsigned int k) const {return const_cast<WMaxMsgUlMap*>(this)->getIE(k);}
virtual void setIE(unsigned int k, const WMaxUlMapIE& IE_var);
};
inline void doPacking(cCommBuffer *b, WMaxMsgUlMap& obj) {obj.netPack(b);}
inline void doUnpacking(cCommBuffer *b, WMaxMsgUlMap& obj) {obj.netUnpack(b);}
/**
* Class generated from <tt>wmaxmsg.msg</tt> by opp_msgc.
* <pre>
* message WMaxMsgDCD
* {
* fields:
* int confChangeCount;
* };
* </pre>
*/
class WMaxMsgDCD : public cMessage
{
protected:
int confChangeCount_var;
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const WMaxMsgDCD&);
public:
WMaxMsgDCD(const char *name=NULL, int kind=0);
WMaxMsgDCD(const WMaxMsgDCD& other);
virtual ~WMaxMsgDCD();
WMaxMsgDCD& operator=(const WMaxMsgDCD& other);
virtual cPolymorphic *dup() const {return new WMaxMsgDCD(*this);}
virtual void netPack(cCommBuffer *b);
virtual void netUnpack(cCommBuffer *b);
// field getter/setter methods
virtual int getConfChangeCount() const;
virtual void setConfChangeCount(int confChangeCount_var);
};
inline void doPacking(cCommBuffer *b, WMaxMsgDCD& obj) {obj.netPack(b);}
inline void doUnpacking(cCommBuffer *b, WMaxMsgDCD& obj) {obj.netUnpack(b);}
/**
* Class generated from <tt>wmaxmsg.msg</tt> by opp_msgc.
* <pre>
* message WMaxMsgUCD
* {
* fields:
* int confChangeCount;
* };
* </pre>
*/
class WMaxMsgUCD : public cMessage
{
protected:
int confChangeCount_var;
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const WMaxMsgUCD&);
public:
WMaxMsgUCD(const char *name=NULL, int kind=0);
WMaxMsgUCD(const WMaxMsgUCD& other);
virtual ~WMaxMsgUCD();
WMaxMsgUCD& operator=(const WMaxMsgUCD& other);
virtual cPolymorphic *dup() const {return new WMaxMsgUCD(*this);}
virtual void netPack(cCommBuffer *b);
virtual void netUnpack(cCommBuffer *b);
// field getter/setter methods
virtual int getConfChangeCount() const;
virtual void setConfChangeCount(int confChangeCount_var);
};
inline void doPacking(cCommBuffer *b, WMaxMsgUCD& obj) {obj.netPack(b);}
inline void doUnpacking(cCommBuffer *b, WMaxMsgUCD& obj) {obj.netUnpack(b);}
/**
* Class generated from <tt>wmaxmsg.msg</tt> by opp_msgc.
* <pre>
* message WMaxMsgRngReq
* {
* fields:
* int purpose;
* WMaxRngReq rngReq;
*
*
* WMaxQos SfQos[];
* int SfCid[];
* };
* </pre>
*/
class WMaxMsgRngReq : public cMessage
{
protected:
int purpose_var;
WMaxRngReq rngReq_var;
WMaxQos *SfQos_var; // array ptr
unsigned int SfQos_arraysize;
int *SfCid_var; // array ptr
unsigned int SfCid_arraysize;
// protected and unimplemented operator==(), to prevent accidental usage
bool operator==(const WMaxMsgRngReq&);
public:
WMaxMsgRngReq(const char *name=NULL, int kind=0);
WMaxMsgRngReq(const WMaxMsgRngReq& other);
virtual ~WMaxMsgRngReq();
WMaxMsgRngReq& operator=(const WMaxMsgRngReq& other);
virtual cPolymorphic *dup() const {return new WMaxMsgRngReq(*this);}
virtual void netPack(cCommBuffer *b);
virtual void netUnpack(cCommBuffer *b);
// field getter/setter methods
virtual int getPurpose() const;
virtual voi