User Manual, Developers Guide and API Documentation

PhyMeasurementsProbe.hpp

Go to the documentation of this file.
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. 16, 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 LTE_HELPER_PHYMEASUREMENTPROBE_HPP
00029 #define LTE_HELPER_PHYMEASUREMENTPROBE_HPP
00030 
00031 #include <LTE/helper/HasModeName.hpp>
00032 
00033 #include <WNS/probe/bus/ContextCollector.hpp>
00034 #include <WNS/logger/Logger.hpp>
00035 #include <WNS/ldk/CommandTypeSpecifier.hpp>
00036 #include <WNS/ldk/HasReceptor.hpp>
00037 #include <WNS/ldk/HasConnector.hpp>
00038 #include <WNS/ldk/HasDeliverer.hpp>
00039 #include <WNS/ldk/Processor.hpp>
00040 #include <WNS/ldk/CommandReaderInterface.hpp>
00041 #include <WNS/service/phy/phymode/PhyModeInterface.hpp>
00042 #include <WNS/service/phy/phymode/PhyModeMapperInterface.hpp>
00043 
00044 #include <WNS/pyconfig/View.hpp>
00045 
00046 namespace lte { namespace helper {
00047 
00048     class PhyMeasurementProbe :
00049     virtual public wns::ldk::FunctionalUnit,
00050     public wns::ldk::CommandTypeSpecifier<>,
00051     public wns::ldk::HasReceptor<>,
00052     public wns::ldk::HasConnector<>,
00053     public wns::ldk::HasDeliverer<>,
00054     public wns::Cloneable<PhyMeasurementProbe>,
00055     public wns::ldk::Processor<PhyMeasurementProbe>,
00056     public lte::helper::HasModeName
00057     {
00059         wns::ldk::CommandReaderInterface* phyCommandReader;
00061         wns::service::phy::phymode::PhyModeMapperInterface* phyModeMapper;
00062         
00063         wns::probe::bus::ContextCollector* sinrProbe;
00064         wns::probe::bus::ContextCollector* carrierProbe;
00065         wns::probe::bus::ContextCollector* interferenceProbe;
00066         wns::probe::bus::ContextCollector* sinrEstProbe;
00067         wns::probe::bus::ContextCollector* sinrEstErrProbe;
00068         wns::probe::bus::ContextCollector* rxPwrProbe;
00069         wns::probe::bus::ContextCollector* txPwrProbe;
00070         wns::probe::bus::ContextCollector* interfProbe;
00071         wns::probe::bus::ContextCollector* iotProbe;
00072         wns::probe::bus::ContextCollector* modulationProbe;
00073         wns::probe::bus::ContextCollector* phyModeProbe;
00074         wns::probe::bus::ContextCollector* pathlossProbe;
00075         
00076         wns::logger::Logger logger;
00077 
00078     public:
00079 
00080         PhyMeasurementProbe(wns::ldk::fun::FUN* fun, const wns::pyconfig::View& config);
00081         virtual ~PhyMeasurementProbe();
00082         
00083         virtual void
00084         onFUNCreated();
00085 
00086         virtual void
00087         processIncoming(const wns::ldk::CompoundPtr& compound);
00088 
00089         virtual void
00090         processOutgoing(const wns::ldk::CompoundPtr&){}
00091         
00092     };
00093 
00094 
00095 }}
00096 
00097 #endif // LTE_HELPER_PHYMEASUREMENTPROBE_HPP

Generated on Fri May 25 03:32:05 2012 for openWNS by  doxygen 1.5.5