![]() |
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 00027 #ifndef WIMAC_FRAME_MAPCOMMAND_H 00028 #define WIMAC_FRAME_MAPCOMMAND_H 00029 00030 #include <WNS/ldk/Command.hpp> 00031 #include <WNS/CandI.hpp> 00032 00033 namespace wimac { 00034 00035 class MapCommand: 00036 public wns::ldk::Command 00037 { 00038 public: 00039 struct { 00040 wns::simulator::Time mapDuration; 00041 size_t numBursts; 00042 } local; 00043 struct { 00044 //wns::scheduler::MapInfoCollectionPtr mapInfo; 00045 wns::scheduler::SchedulingMapPtr schedulingMap; 00046 wns::simulator::Time phaseDuration; 00047 int baseStationID; 00048 } peer; 00049 struct { 00050 wns::CandI estimatedCandI; 00051 } magic; 00052 }; 00053 } 00054 #endif 00055
1.5.5