00001 /* -*- mode:c++ -*- ******************************************************** 00002 * file: SnrEval80211.h 00003 * 00004 * author: Marc Loebbers 00005 * 00006 * copyright: (C) 2004 Telecommunication Networks Group (TKN) at 00007 * Technische Universitaet Berlin, Germany. 00008 * 00009 * This program is free software; you can redistribute it 00010 * and/or modify it under the terms of the GNU General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 2 of the License, or (at your option) any later 00013 * version. 00014 * For further information see file COPYING 00015 * in the top level directory 00016 *************************************************************************** 00017 * part of: framework implementation developed by tkn 00018 ***************************************************************************/ 00019 00020 #ifndef SNR_EVAL_80211H 00021 #define SNR_EVAL_80211H 00022 00023 #include "SnrEval.h" 00024 #include "Bitrate.h" 00025 #include "AirFrame80211_m.h" 00026 00041 class SnrEval80211 : public SnrEval 00042 { 00043 public: 00044 Module_Class_Members( SnrEval80211, SnrEval, 0 ); 00045 00047 virtual void initialize(int); 00048 00050 void handleMessage( cMessage* ); 00051 00052 protected: 00053 AirFrame80211* encapsMsg(cMessage *msg); 00054 00056 virtual double calcDuration(cMessage*); 00057 00058 }; 00059 00060 #endif