OpenWalnut
1.5.0dev
|
Event signalling a module connection was established. More...
#include <WModuleConnectEvent.h>
Public Member Functions | |
WModuleConnectEvent (std::shared_ptr< WModuleConnector > in, std::shared_ptr< WModuleConnector > out) | |
Creates a new event denoting the established connection between both connectors. More... | |
virtual | ~WModuleConnectEvent () |
Destructor. More... | |
std::shared_ptr< WModuleConnector > | getInput () const |
Gets the input connector involved in this connection event. More... | |
std::shared_ptr< WModuleConnector > | getOutput () const |
Gets the output connector involved in this connection event. More... | |
Protected Attributes | |
std::shared_ptr< WModuleConnector > | m_in |
The input. More... | |
std::shared_ptr< WModuleConnector > | m_out |
The output. More... | |
Event signalling a module connection was established.
Definition at line 37 of file WModuleConnectEvent.h.
WModuleConnectEvent::WModuleConnectEvent | ( | std::shared_ptr< WModuleConnector > | in, |
std::shared_ptr< WModuleConnector > | out | ||
) |
Creates a new event denoting the established connection between both connectors.
in | the input |
out | the output |
Definition at line 30 of file WModuleConnectEvent.cpp.
|
virtual |
Destructor.
Definition at line 38 of file WModuleConnectEvent.cpp.
std::shared_ptr< WModuleConnector > WModuleConnectEvent::getInput | ( | ) | const |
Gets the input connector involved in this connection event.
Definition at line 43 of file WModuleConnectEvent.cpp.
References m_in.
Referenced by WQtControlPanel::event(), and WQtNetworkEditor::event().
std::shared_ptr< WModuleConnector > WModuleConnectEvent::getOutput | ( | ) | const |
Gets the output connector involved in this connection event.
Definition at line 48 of file WModuleConnectEvent.cpp.
References m_out.
Referenced by WQtControlPanel::event(), and WQtNetworkEditor::event().
|
protected |
|
protected |