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