![]() |
User Manual, Developers Guide and API Documentation |
![]() |
00001 /****************************************************************************** 00002 * WNS (Wireless Network Simulator) * 00003 * __________________________________________________________________________ * 00004 * * 00005 * Copyright (C) 2004-2008 * 00006 * Chair of Communication Networks (ComNets) * 00007 * Kopernikusstr. 1, 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_ICONNECTORRECEPTACLE_HPP 00014 #define WNS_LDK_ICONNECTORRECEPTACLE_HPP 00015 00016 #include <WNS/ldk/Compound.hpp> 00017 00018 namespace wns { namespace ldk { 00019 00020 class FunctionalUnit; 00021 00022 class IConnectorReceptacle 00023 { 00024 public: 00025 virtual 00026 ~IConnectorReceptacle() 00027 {} 00028 00029 virtual void 00030 sendData(const CompoundPtr& compound) = 0; 00031 00032 virtual void 00033 doSendData(const CompoundPtr& compound) = 0; 00034 00035 virtual bool 00036 isAccepting(const CompoundPtr& compound) = 0; 00037 00038 virtual bool 00039 doIsAccepting(const CompoundPtr& compound) const = 0; 00040 00041 virtual FunctionalUnit* 00042 getFU() = 0; 00043 00044 }; 00045 00046 } // ldk 00047 } // wns 00048 00049 #endif // NOT defined WNS_LDK_ICONNECTORRECEPTACLE_HPP
1.5.5