![]() |
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_GETHASRECEPTOR_HPP 00014 #define WNS_LDK_GETHASRECEPTOR_HPP 00015 00016 #include <WNS/ldk/HasReceptorInterface.hpp> 00017 00018 namespace wns { namespace ldk { 00019 00020 template <typename PORT> 00021 class GetHasReceptor 00022 { 00023 public: 00024 GetHasReceptor() 00025 : rec_(NULL) 00026 {} 00027 00028 void 00029 setHasReceptor(HasReceptorInterface* rec) 00030 { 00031 rec_ = rec; 00032 } 00033 00034 HasReceptorInterface* 00035 getHasReceptor() 00036 { 00037 return rec_; 00038 } 00039 00040 private: 00041 HasReceptorInterface* rec_; 00042 }; 00043 00044 } //ldk 00045 } //wns 00046 00047 #endif // WNS_LDK_GETHASRECPTOR
1.5.5