25 #ifndef WMODULEONETOONECOMBINER_H
26 #define WMODULEONETOONECOMBINER_H
32 #include "../WModule.h"
33 #include "../WModuleCombiner.h"
34 #include "../WModuleCombinerTypes.h"
57 std::shared_ptr< WModule > srcModule, std::string srcConnector,
58 std::shared_ptr< WModule > targetModule, std::string targetConnector );
72 std::shared_ptr< WModule > targetModule, std::string targetConnector );
This is a base class for all module combination classes.
Base class for all combiners which apply one connection between two connectors of two modules.
std::shared_ptr< WModule > getSrcModule() const
Gets the source module.
WModuleOneToOneCombiner(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 sets up the specified modules and prototype combination.
std::shared_ptr< WModule > m_srcModule
The source module to connect with the target.
std::string getTargetConnector() const
The input connector the target module to connect with m_srcConnector.
virtual ~WModuleOneToOneCombiner()
Destructor.
std::string m_targetConnector
The input connector the target module to connect with m_srcConnector.
std::string m_srcConnector
The output connector of m_srcModule to connect with m_targetConnector.
std::shared_ptr< WModule > getTargetModule() const
The module/prototype to connect with m_srcModule.
virtual void apply()=0
Apply the internal module structure to the target container.
std::string getSrcConnector() const
The output connector of m_srcModule to connect with m_targetConnector.
std::shared_ptr< WModule > m_targetModule
The module/prototype to connect with m_srcMdodule.