00001 #ifndef PHYTOMACCONTROLINFO_H_ 00002 #define PHYTOMACCONTROLINFO_H_ 00003 00004 #include <omnetpp.h> 00005 #include <Decider.h> 00006 00015 class PhyToMacControlInfo: public cObject { 00016 protected: 00018 DeciderResult* result; 00019 00020 public: 00026 PhyToMacControlInfo(DeciderResult* result): 00027 result(result) {} 00028 00032 ~PhyToMacControlInfo() { 00033 if(result) 00034 delete result; 00035 } 00036 00040 DeciderResult* getDeciderResult() const { 00041 return result; 00042 } 00043 }; 00044 00045 #endif /*PHYTOMACCONTROLINFO_H_*/