User Manual, Developers Guide and API Documentation

RelayDirection.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 #ifndef WIMAC_COMPOUNDSWITCH_FILTER_RELAYDIRECTION_HPP
00027 #define WIMAC_COMPOUNDSWITCH_FILTER_RELAYDIRECTION_HPP
00028 
00029 #include <WNS/pyconfig/View.hpp>
00030 
00031 #include <DLL/compoundSwitch/Filter.hpp>
00032 
00033 namespace wimac { namespace relay {
00034         class RelayMapper;
00035 }}
00036 
00037 namespace wimac { namespace compoundSwitch { namespace filter {
00038 
00039             class RelayDirection :
00040                 public dll::compoundSwitch::Filter
00041             {
00042             public:
00043                 RelayDirection(dll::compoundSwitch::CompoundSwitch*, wns::pyconfig::View&);
00044 
00045                 void onFUNCreated();
00046 
00047                 virtual bool
00048                 filter( const wns::ldk::CompoundPtr& compound) const;
00049 
00050             private:
00051                 wimac::relay::RelayMapper* mapper_;
00052                 int direction_;
00053             };
00054         }}}
00055 #endif
00056 
00057 

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