|
OpenWalnut 1.3.1
|
Combiner which disconnects the specified connection. More...
#include <WDisconnectCombiner.h>
Inheritance diagram for WDisconnectCombiner:Public Member Functions | |
| WDisconnectCombiner (boost::shared_ptr< WModuleContainer > target, boost::shared_ptr< WModule > srcModule, std::string srcConnector, boost::shared_ptr< WModule > targetModule, std::string targetConnector) | |
| Creates a combiner which disconnects the specified connection. | |
| WDisconnectCombiner (boost::shared_ptr< WModule > srcModule, std::string srcConnector, boost::shared_ptr< WModule > targetModule, std::string targetConnector) | |
| Creates a combiner which disconnects the specified connection. | |
| WDisconnectCombiner (boost::shared_ptr< WModuleConnector > srcConnector, boost::shared_ptr< WModuleConnector > targetConnector) | |
| Creates a combiner which disconnects the specified connection. | |
| virtual | ~WDisconnectCombiner () |
| Destructor. | |
| virtual void | apply () |
| Disconnects the specified connection. | |
Combiner which disconnects the specified connection.
Definition at line 46 of file WDisconnectCombiner.h.
| WDisconnectCombiner::WDisconnectCombiner | ( | boost::shared_ptr< WModuleContainer > | target, |
| boost::shared_ptr< WModule > | srcModule, | ||
| std::string | srcConnector, | ||
| boost::shared_ptr< WModule > | targetModule, | ||
| std::string | targetConnector | ||
| ) |
Creates a combiner which disconnects the specified connection.
If the specified connection does not exist (anymore), nothing will happen.
| target | the target container |
| srcModule | the module whose connector should be disconnected |
| srcConnector | the srcModule connector to disconnect |
| targetModule | the module whose connector should be disconnected from srcConnector |
| targetConnector | the targetModule connector to disconnect. |
Definition at line 29 of file WDisconnectCombiner.cpp.
| WDisconnectCombiner::WDisconnectCombiner | ( | boost::shared_ptr< WModule > | srcModule, |
| std::string | srcConnector, | ||
| boost::shared_ptr< WModule > | targetModule, | ||
| std::string | targetConnector | ||
| ) |
Creates a combiner which disconnects the specified connection.
If the specified connection does not exist (anymore), nothing will happen.
| srcModule | the module whose connector should be disconnected |
| srcConnector | the srcModule connector to disconnect |
| targetModule | the module whose connector should be disconnected from srcConnector |
| targetConnector | the targetModule connector to disconnect. |
Definition at line 36 of file WDisconnectCombiner.cpp.
| WDisconnectCombiner::WDisconnectCombiner | ( | boost::shared_ptr< WModuleConnector > | srcConnector, |
| boost::shared_ptr< WModuleConnector > | targetConnector | ||
| ) |
Creates a combiner which disconnects the specified connection.
If the specified connection does not exist (anymore), nothing will happen.
| srcConnector | connector 1 |
| targetConnector | connector 2 |
Definition at line 42 of file WDisconnectCombiner.cpp.
| WDisconnectCombiner::~WDisconnectCombiner | ( | ) | [virtual] |
Destructor.
Definition at line 48 of file WDisconnectCombiner.cpp.
| void WDisconnectCombiner::apply | ( | ) | [virtual] |
Disconnects the specified connection.
Implements WModuleOneToOneCombiner.
Definition at line 53 of file WDisconnectCombiner.cpp.
References WModuleOneToOneCombiner::m_srcConnector, WModuleOneToOneCombiner::m_srcModule, WModuleOneToOneCombiner::m_targetConnector, and WModuleOneToOneCombiner::m_targetModule.
1.7.4