00001 /* -*- mode:c++ -*- ******************************************************** 00002 * file: TestSnrEval.h 00003 * 00004 * author: Daniel Willkomm 00005 * 00006 * copyright: (C) 2006 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 * description: - SnrEval class 00019 * - mains tasks are to determine the SNR for a message and 00020 * to simulate a transmission delay 00021 * 00022 ***************************************************************************/ 00023 00024 00025 #ifndef TEST_SNR_EVAL_H 00026 #define TEST_SNR_EVAL_H 00027 00028 #include <BasicSnrEval.h> 00029 00040 class TestSnrEval : public BasicSnrEval 00041 { 00042 public: 00043 Module_Class_Members( TestSnrEval, BasicSnrEval, 0 ); 00044 00045 protected: 00047 virtual double calcDuration(cMessage*); 00048 00050 virtual void handleLowerMsgStart(AirFrame*); 00051 00052 }; 00053 00054 #endif