![]() |
User Manual, Developers Guide and API Documentation |
![]() |
00001 /******************************************************************************* 00002 * This file is part of openWNS (open Wireless Network Simulator) 00003 * _____________________________________________________________________________ 00004 * 00005 * Copyright (C) 2004-2007 00006 * Chair of Communication Networks (ComNets) 00007 * Kopernikusstr. 5, D-52074 Aachen, GeSMany 00008 * phone: ++49-241-80-27910, 00009 * fax: ++49-241-80-22242 00010 * email: info@openwns.org 00011 * www: http://www.openwns.org 00012 * _____________________________________________________________________________ 00013 * 00014 * openWNS is free software; you can redistribute it and/or modify it under the 00015 * terms of the GNU Lesser General Public License version 2 as published by the 00016 * Free Software Foundation; 00017 * 00018 * openWNS is distributed in the hope that it will be useful, but WITHOUT ANY 00019 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 00020 * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 00021 * details. 00022 * 00023 * You should have received a copy of the GNU Lesser General Public License 00024 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00025 * 00026 ******************************************************************************/ 00027 00028 #ifndef RISE_SCENARIO_PATHLOSS_ITUSMa_HPP 00029 #define RISE_SCENARIO_PATHLOSS_ITUSMa_HPP 00030 00031 #include <RISE/scenario/pathloss/DistanceDependent.hpp> 00032 #include <WNS/probe/bus/ContextCollector.hpp> 00033 00034 namespace rise { namespace scenario { namespace pathloss { 00040 class ITUSMa: 00041 public rise::scenario::pathloss::DistanceDependent 00042 { 00043 public: 00044 ITUSMa(const wns::pyconfig::View&); 00045 00046 virtual ~ITUSMa() {} 00047 00048 virtual wns::Ratio 00049 calculatePathloss(const rise::antenna::Antenna& source, 00050 const rise::antenna::Antenna& target, 00051 const wns::Frequency& frequency, 00052 const wns::Distance& distance) const; 00053 00054 virtual double 00055 getLOSProbability(double distance) const; 00056 00057 virtual wns::Ratio 00058 getLOSPathloss(const rise::antenna::Antenna& source, 00059 const rise::antenna::Antenna& target, 00060 const wns::Frequency& frequency, 00061 const wns::Distance& distance) const; 00062 00063 virtual wns::Ratio 00064 getNLOSPathloss(const rise::antenna::Antenna& source, 00065 const rise::antenna::Antenna& target, 00066 const wns::Frequency& frequency, 00067 const wns::Distance& distance) const; 00068 00069 virtual double 00070 getCarPenetrationStd() const; 00071 00072 virtual double 00073 getCarPenetrationMean() const; 00074 00075 private: 00076 double streetWidth_; 00077 00078 double buildingHeight_; 00079 00080 wns::probe::bus::ContextCollector losProbabilityCC_; 00081 00082 wns::probe::bus::ContextCollector shadowingCC_; 00083 00084 bool useShadowing_; 00085 00086 bool useCarPenetration_; 00087 }; 00088 00089 } // pathloss 00090 } // scenario 00091 } // rise 00092 00093 #endif // RISE_SCENARIO_PATHLOSS_ITUSMa_HPP
1.5.5