|
INET Framework for OMNeT++/OMNEST
|
00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.2 from linklayer/mfcore/SnrControlInfo.msg. 00003 // 00004 00005 #ifndef _SNRCONTROLINFO_M_H_ 00006 #define _SNRCONTROLINFO_M_H_ 00007 00008 #include <omnetpp.h> 00009 00010 // opp_msgc version check 00011 #define MSGC_VERSION 0x0402 00012 #if (MSGC_VERSION!=OMNETPP_VERSION) 00013 # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help. 00014 #endif 00015 00016 // cplusplus {{ 00017 #include "INETDefs.h" 00018 #include "SnrList.h" 00019 // }} 00020 00021 00022 00032 class SnrControlInfo : public ::cObject 00033 { 00034 protected: 00035 SnrList snrList_var; 00036 00037 private: 00038 void copy(const SnrControlInfo& other); 00039 00040 protected: 00041 // protected and unimplemented operator==(), to prevent accidental usage 00042 bool operator==(const SnrControlInfo&); 00043 00044 public: 00045 SnrControlInfo(); 00046 SnrControlInfo(const SnrControlInfo& other); 00047 virtual ~SnrControlInfo(); 00048 SnrControlInfo& operator=(const SnrControlInfo& other); 00049 virtual SnrControlInfo *dup() const {return new SnrControlInfo(*this);} 00050 virtual void parsimPack(cCommBuffer *b); 00051 virtual void parsimUnpack(cCommBuffer *b); 00052 00053 // field getter/setter methods 00054 virtual SnrList& getSnrList(); 00055 virtual const SnrList& getSnrList() const {return const_cast<SnrControlInfo*>(this)->getSnrList();} 00056 virtual void setSnrList(const SnrList& snrList); 00057 }; 00058 00059 inline void doPacking(cCommBuffer *b, SnrControlInfo& obj) {obj.parsimPack(b);} 00060 inline void doUnpacking(cCommBuffer *b, SnrControlInfo& obj) {obj.parsimUnpack(b);} 00061 00062 00063 #endif // _SNRCONTROLINFO_M_H_