25 #ifndef WDISCONNECTCOMBINER_H
26 #define WDISCONNECTCOMBINER_H
35 #include "../WModule.h"
36 #include "../WModuleCombinerTypes.h"
37 #include "../WModuleConnector.h"
38 #include "WModuleOneToOneCombiner.h"
58 std::shared_ptr< WModule > srcModule, std::string srcConnector,
59 std::shared_ptr< WModule > targetModule, std::string targetConnector );
70 std::shared_ptr< WModule > targetModule, std::string targetConnector );
79 std::shared_ptr< WModuleConnector > targetConnector );
Combiner which disconnects the specified connection.
WDisconnectCombiner(std::shared_ptr< WModuleContainer > target, std::shared_ptr< WModule > srcModule, std::string srcConnector, std::shared_ptr< WModule > targetModule, std::string targetConnector)
Creates a combiner which disconnects the specified connection.
virtual ~WDisconnectCombiner()
Destructor.
virtual void apply()
Disconnects the specified connection.
Base class for all combiners which apply one connection between two connectors of two modules.