OpenWalnut  1.5.0dev
Public Member Functions | Protected Attributes | List of all members
WModuleConnectEvent Class Reference

Event signalling a module connection was established. More...

#include <WModuleConnectEvent.h>

+ Inheritance diagram for WModuleConnectEvent:
+ Collaboration diagram for WModuleConnectEvent:

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< WModuleConnectorgetInput () const
 Gets the input connector involved in this connection event. More...
 
std::shared_ptr< WModuleConnectorgetOutput () const
 Gets the output connector involved in this connection event. More...
 

Protected Attributes

std::shared_ptr< WModuleConnectorm_in
 The input. More...
 
std::shared_ptr< WModuleConnectorm_out
 The output. More...
 

Detailed Description

Event signalling a module connection was established.

Definition at line 37 of file WModuleConnectEvent.h.

Constructor & Destructor Documentation

◆ WModuleConnectEvent()

WModuleConnectEvent::WModuleConnectEvent ( std::shared_ptr< WModuleConnector in,
std::shared_ptr< WModuleConnector out 
)

Creates a new event denoting the established connection between both connectors.

Parameters
inthe input
outthe output

Definition at line 30 of file WModuleConnectEvent.cpp.

◆ ~WModuleConnectEvent()

WModuleConnectEvent::~WModuleConnectEvent ( )
virtual

Destructor.

Definition at line 38 of file WModuleConnectEvent.cpp.

Member Function Documentation

◆ getInput()

std::shared_ptr< WModuleConnector > WModuleConnectEvent::getInput ( ) const

Gets the input connector involved in this connection event.

Returns
the connector.

Definition at line 43 of file WModuleConnectEvent.cpp.

References m_in.

Referenced by WQtControlPanel::event(), and WQtNetworkEditor::event().

+ Here is the caller graph for this function:

◆ getOutput()

std::shared_ptr< WModuleConnector > WModuleConnectEvent::getOutput ( ) const

Gets the output connector involved in this connection event.

Returns
the connector.

Definition at line 48 of file WModuleConnectEvent.cpp.

References m_out.

Referenced by WQtControlPanel::event(), and WQtNetworkEditor::event().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_in

std::shared_ptr< WModuleConnector > WModuleConnectEvent::m_in
protected

The input.

Definition at line 71 of file WModuleConnectEvent.h.

Referenced by getInput().

◆ m_out

std::shared_ptr< WModuleConnector > WModuleConnectEvent::m_out
protected

The output.

Definition at line 76 of file WModuleConnectEvent.h.

Referenced by getOutput().


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