![]() |
User Manual, Developers Guide and API Documentation |
![]() |
00001 /****************************************************************************** 00002 * WNS (Wireless Network Simulator) * 00003 * __________________________________________________________________________ * 00004 * * 00005 * Copyright (C) 2004-2006 * 00006 * Chair of Communication Networks (ComNets) * 00007 * Kopernikusstr. 16, D-52074 Aachen, Germany * 00008 * phone: ++49-241-80-27910 (phone), fax: ++49-241-80-22242 * 00009 * email: wns@comnets.rwth-aachen.de * 00010 * www: http://wns.comnets.rwth-aachen.de * 00011 ******************************************************************************/ 00012 00013 #ifndef WNS_LDK_GETHASDELIVERER_HPP 00014 #define WNS_LDK_GETHASDELIVERER_HPP 00015 00016 #include <WNS/ldk/HasDelivererInterface.hpp> 00017 00018 namespace wns { namespace ldk { 00019 00020 template <typename PORT> 00021 class GetHasDeliverer 00022 { 00023 public: 00024 GetHasDeliverer() 00025 : del_(NULL) 00026 {} 00027 00028 void 00029 setHasDeliverer(HasDelivererInterface* del) 00030 { 00031 del_ = del; 00032 } 00033 00034 HasDelivererInterface* 00035 getHasDeliverer() 00036 { 00037 return del_; 00038 } 00039 00040 private: 00041 HasDelivererInterface* del_; 00042 }; 00043 00044 } //ldk 00045 } //wns 00046 00047 #endif // WNS_LDK_GETHASDELIVERER
1.5.5