User Manual, Developers Guide and API Documentation

IPhyServices.hpp

Go to the documentation of this file.
00001 /******************************************************************************
00002  * WiMeMac                                                                    *
00003  * This file is part of openWNS (open Wireless Network Simulator)
00004  * _____________________________________________________________________________
00005  *
00006  * Copyright (C) 2004-2011
00007  * Chair of Communication Networks (ComNets)
00008  * Kopernikusstr. 5, D-52074 Aachen, Germany
00009  * phone: ++49-241-80-27910,
00010  * fax: ++49-241-80-22242
00011  * email: info@openwns.org
00012  * www: http://www.openwns.org
00013  * _____________________________________________________________________________
00014  *
00015  * openWNS is free software; you can redistribute it and/or modify it under the
00016  * terms of the GNU Lesser General Public License version 2 as published by the
00017  * Free Software Foundation;
00018  *
00019  * openWNS is distributed in the hope that it will be useful, but WITHOUT ANY
00020  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
00021  * A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00022  * details.
00023  *
00024  * You should have received a copy of the GNU Lesser General Public License
00025  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00026  *
00027  ******************************************************************************/
00028 
00029 #ifndef WIMEMAC_CONVERGENCE_IPHYSERVICES_HPP
00030 #define WIMEMAC_CONVERGENCE_IPHYSERVICES_HPP
00031 
00032 #include <WNS/service/phy/ofdma/Handler.hpp>
00033 #include <WNS/service/phy/ofdma/Notification.hpp>
00034 #include <WNS/service/phy/ofdma/DataTransmission.hpp>
00035 
00036 #include <WIMEMAC/convergence/PhyModeProvider.hpp>
00037 
00038 namespace wimemac { namespace convergence {
00039 
00041     class IPhyServices
00042     {
00043     public:
00044         virtual ~IPhyServices(){};
00045 
00047         virtual void setNotificationService(wns::service::Service* phy) = 0;
00048         virtual wns::service::phy::ofdma::Notification* getNotificationService() const = 0;
00049         virtual void setDataTransmissionService(wns::service::Service* phy) = 0;
00050         virtual wns::service::phy::ofdma::DataTransmission* getDataTransmissionService() const = 0;
00051         
00053         virtual PhyModeProvider* getPhyModeProvider() = 0;
00054         
00056         virtual wns::Power getRxPower(const wns::ldk::CommandPool* commandPool) = 0;
00057         virtual wns::Power getInterference(const wns::ldk::CommandPool* commandPool) = 0;
00058     };
00059    
00060 
00061 } // convergence
00062 } // wimemac
00063 
00064 #endif // not defined WIMEMAC_CONVERGENCE_IPHYSERVICES_HPP

Generated on Thu May 24 03:32:12 2012 for openWNS by  doxygen 1.5.5