OpenWalnut  1.4.0
Public Member Functions
WDisconnectCombiner Class Reference

Combiner which disconnects the specified connection. More...

#include <WDisconnectCombiner.h>

+ Inheritance diagram for WDisconnectCombiner:

List of all members.

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.

Detailed Description

Combiner which disconnects the specified connection.

Definition at line 46 of file WDisconnectCombiner.h.


Constructor & Destructor Documentation

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.

Parameters:
targetthe target container
srcModulethe module whose connector should be disconnected
srcConnectorthe srcModule connector to disconnect
targetModulethe module whose connector should be disconnected from srcConnector
targetConnectorthe 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.

Parameters:
srcModulethe module whose connector should be disconnected
srcConnectorthe srcModule connector to disconnect
targetModulethe module whose connector should be disconnected from srcConnector
targetConnectorthe 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.

Parameters:
srcConnectorconnector 1
targetConnectorconnector 2

Definition at line 42 of file WDisconnectCombiner.cpp.

Destructor.

Definition at line 48 of file WDisconnectCombiner.cpp.


Member Function Documentation

void WDisconnectCombiner::apply ( ) [virtual]

The documentation for this class was generated from the following files: