![]() |
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-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 #ifndef WIMAC_FRAME_PSEUDOBWREQUESTGENERATOR_H 00027 #define WIMAC_FRAME_PSEUDOBWREQUESTGENERATOR_H 00028 00029 #include <WNS/ldk/ldk.hpp> 00030 #include <WNS/Cloneable.hpp> 00031 #include <WNS/ldk/HasDeliverer.hpp> 00032 #include <WNS/ldk/HasConnector.hpp> 00033 #include <WNS/ldk/HasReceptor.hpp> 00034 #include <WNS/ldk/FunctionalUnit.hpp> 00035 #include <WNS/ldk/Command.hpp> 00036 #include <WNS/ldk/CommandTypeSpecifier.hpp> 00037 #include <WNS/ldk/Compound.hpp> 00038 #include <WNS/ldk/Classifier.hpp> 00039 #include <WNS/pyconfig/View.hpp> 00040 00041 #include <WIMAC/services/ConnectionManager.hpp> 00042 00043 namespace wimac { namespace scheduler { 00044 00045 class Scheduler; 00046 class Interface; 00047 00049 class PseudoBWRequestGenerator : 00050 public wns::Cloneable<PseudoBWRequestGenerator> 00051 { 00052 public: 00053 PseudoBWRequestGenerator( const wns::pyconfig::View& config ); 00054 00055 void setScheduler(wimac::scheduler::Interface*); 00056 00057 void setFUN(wns::ldk::fun::FUN* fun); 00058 00059 void wakeup(); 00060 private: 00061 wimac::Component* component_; 00062 00063 struct { 00064 std::string connectionManagerName; 00065 std::string classifierName; 00066 00067 service::ConnectionManager* connectionManager; 00068 wimac::scheduler::Scheduler* ulScheduler; 00069 wimac::ConnectionClassifier* classifier; 00070 } friends_; 00071 00072 int packetSize; 00073 00074 }; 00075 00076 }} // namespace wimac::scheduler 00077 00078 #endif
1.5.5