User Manual, Developers Guide and API Documentation

SpaceTimeSectorizationRegistryProxy.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-2009
00006  * Chair of Communication Networks (ComNets)
00007  * Kopernikusstr. 5, D-52074 Aachen, Germany
00008  * email: info@openwns.org
00009  * www: http://www.openwns.org
00010  * _____________________________________________________________________________
00011  *
00012  * openWNS is free software; you can redistribute it and/or modify it under the
00013  * terms of the GNU Lesser General Public License version 2 as published by the
00014  * Free Software Foundation;
00015  *
00016  * openWNS is distributed in the hope that it will be useful, but WITHOUT ANY
00017  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
00018  * A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00019  * details.
00020  *
00021  * You should have received a copy of the GNU Lesser General Public License
00022  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00023  *
00024  ******************************************************************************/
00025 
00026 
00027 #ifndef WIMAC_SCHEDULER_SPACETIMESECTORIZATIONREGISTRYPROXY_HPP
00028 #define WIMAC_SCHEDULER_SPACETIMESECTORIZATIONREGISTRYPROXY_HPP
00029 
00030 
00031 #include <WNS/service/phy/ofdma/DataTransmission.hpp>
00032 #include <WNS/ldk/fcf/FrameBuilder.hpp>
00033 #include <WNS/logger/Logger.hpp>
00034 
00035 #include <WIMAC/scheduler/RegistryProxyWiMAC.hpp>
00036 
00037 
00038 namespace wimac { namespace scheduler {
00039 
00040         class SpaceTimeSectorizationRegistryProxy :
00041             public wimac::scheduler::RegistryProxyWiMAC
00042         {
00043         public:
00044             SpaceTimeSectorizationRegistryProxy(wns::ldk::fun::FUN*, const wns::pyconfig::View&);
00045             ~SpaceTimeSectorizationRegistryProxy() {}
00046 
00047             wns::scheduler::UserSet filterReachable( wns::scheduler::UserSet users );
00048             void setFUN(const wns::ldk::fun::FUN *fun);
00049 
00050 
00051         private:
00052             wns::service::phy::ofdma::DataTransmission* ofdmaProvider;
00053             wns::ldk::fcf::FrameBuilder* frameBuilder;
00054             wns::logger::Logger logger;
00055 
00056             bool isUserinActiveGroup(double doa, int group) const;
00057 
00058             int numberOfSectors,numberOfSubsectors;
00059             double mutualAngleOfSubsectors;
00060         };
00061     }
00062 }
00063 #endif
00064 
00065 

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