![]() |
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, Germany 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_ITUUMI_HPP 00029 #define RISE_SCENARIO_PATHLOSS_ITUUMI_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 ITUUMi: 00041 public rise::scenario::pathloss::DistanceDependent 00042 { 00043 public: 00044 ITUUMi(const wns::pyconfig::View&); 00045 00046 virtual ~ITUUMi() {}; 00047 virtual wns::Ratio calculatePathloss(const antenna::Antenna& source, 00048 const antenna::Antenna& target, 00049 const wns::Frequency& frequency, 00050 const wns::Distance& distance) const; 00051 //private: 00052 virtual double 00053 getLOSProbability(double distance) const; 00054 00055 virtual wns::Ratio 00056 getLOSPathloss(const rise::antenna::Antenna& source, 00057 const rise::antenna::Antenna& target, 00058 const wns::Frequency& frequency, 00059 const wns::Distance& distance) const; 00060 00061 virtual wns::Ratio 00062 getNLOSPathloss(const rise::antenna::Antenna& source, 00063 const rise::antenna::Antenna& target, 00064 const wns::Frequency& frequency, 00065 const wns::Distance& distance) const; 00066 00067 virtual double 00068 getLOSShadowingStd(const rise::antenna::Antenna& source, 00069 const rise::antenna::Antenna& target, 00070 const wns::Frequency& frequency, 00071 const wns::Distance& distance) const; 00072 00073 virtual double 00074 getNLOSShadowingStd(const rise::antenna::Antenna& source, 00075 const rise::antenna::Antenna& target, 00076 const wns::Frequency& frequency, 00077 const wns::Distance& distance) const; 00078 double 00079 getIndoorShadowingStd(const rise::antenna::Antenna& source, 00080 const rise::antenna::Antenna& target, 00081 const wns::Frequency& frequency, 00082 const wns::Distance& distance) const; 00083 00084 virtual double 00085 getCarPenetrationStd() const; 00086 00087 virtual double 00088 getCarPenetrationMean() const; 00089 00090 private: 00091 wns::probe::bus::ContextCollector losProbabilityCC_; 00092 wns::probe::bus::ContextCollector shadowingCC_; 00093 00094 double outdoorProbability; 00095 00096 bool useShadowing_; 00097 00098 }; 00099 00100 } // pathloss 00101 } // scenario 00102 } // rise 00103 00104 #endif // RISE_SCENARIO_PATHLOSS_ITUUMI_HPP
1.5.5