User Manual, Developers Guide and API Documentation

UE.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-2007
00006  * Chair of Communication Networks (ComNets)
00007  * Kopernikusstr. 16, D-52074 Aachen, Germany
00008  * phone: ++49-241-80-27910,
00009  * fax: ++49-241-80-22242
00010  * email: info@openwns.org
00011  * www: http://www.openwns.org
00012  * _____________________________________________________________________________
00013  *
00014  * openWNS is free software; you can redistribute it and/or modify it under the
00015  * terms of the GNU Lesser General Public License version 2 as published by the
00016  * Free Software Foundation;
00017  *
00018  * openWNS is distributed in the hope that it will be useful, but WITHOUT ANY
00019  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
00020  * A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00021  * details.
00022  *
00023  * You should have received a copy of the GNU Lesser General Public License
00024  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00025  *
00026  ******************************************************************************/
00027 
00028 #ifndef LTE_RLC_ENB_HPP
00029 #define LTE_RLC_ENB_HPP
00030 
00031 #include <LTE/rlc/RLCCommand.hpp>
00032 
00033 #include <WNS/service/dll/Address.hpp>
00034 
00035 #include <WNS/ldk/Processor.hpp>
00036 #include <WNS/ldk/CommandTypeSpecifier.hpp>
00037 #include <WNS/ldk/HasReceptor.hpp>
00038 #include <WNS/ldk/HasConnector.hpp>
00039 #include <WNS/ldk/HasDeliverer.hpp>
00040 #include <WNS/logger/Logger.hpp>
00041 
00042 namespace lte { namespace controlplane{ namespace flowmanagement { class IFlowSwitching;}}}
00043 
00044 namespace lte { namespace rlc {
00045 
00046 class UERLC :
00047     public wns::ldk::Processor<UERLC>,
00048     public wns::ldk::HasReceptor<>,
00049     public wns::ldk::HasConnector<>,
00050     public wns::ldk::HasDeliverer<>,
00051     public wns::ldk::CommandTypeSpecifier<RLCCommand>,
00052     public wns::Cloneable<UERLC>
00053 {
00054 public:
00055   UERLC(wns::ldk::fun::FUN* fun, const wns::pyconfig::View& config);
00056 
00057   ~UERLC();
00058 
00059   virtual void onFUNCreated();
00060 
00061   virtual void processOutgoing(const wns::ldk::CompoundPtr& compound);
00062 
00063   virtual void processIncoming(const wns::ldk::CompoundPtr& compound);
00064 
00065   virtual wns::ldk::CommandPool*
00066   createReply(const wns::ldk::CommandPool* original) const;
00067 
00068   void
00069   setDestination(wns::service::dll::UnicastAddress dst);
00070 
00071   wns::service::dll::UnicastAddress
00072   getDestination();
00073 
00074 private:
00075 
00076   struct {
00077     lte::controlplane::flowmanagement::IFlowSwitching* flowswitching;
00078   } friends;
00079 
00080   wns::ldk::CommandReaderInterface* upperConvergenceReader;
00081   wns::service::dll::UnicastAddress destination;
00082   wns::logger::Logger logger;
00083 };
00084 
00085 } // rlc
00086 } // lte
00087 #endif // LTE_RLC_ENB_HPP

Generated on Sun May 27 03:32:05 2012 for openWNS by  doxygen 1.5.5