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