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

Event signalling a module connector changed its data. More...

#include <WModuleConnectorEvent.h>

+ Inheritance diagram for WModuleConnectorEvent:
+ Collaboration diagram for WModuleConnectorEvent:

Public Member Functions

 WModuleConnectorEvent (WModule::SPtr module, WModuleConnector::SPtr connector)
 Creates a new event denoting the updated connector of a module. More...
 
virtual ~WModuleConnectorEvent ()
 Destructor. More...
 
WModuleConnector::SPtr getConnector () const
 Gets the connector that has changed. More...
 
WModule::SPtr getModule () const
 Gets the module (owner) of the connector. More...
 

Protected Attributes

WModule::SPtr m_module
 The module. More...
 
WModuleConnector::SPtr m_connector
 The connector. More...
 

Detailed Description

Event signalling a module connector changed its data.

Definition at line 38 of file WModuleConnectorEvent.h.

Constructor & Destructor Documentation

◆ WModuleConnectorEvent()

WModuleConnectorEvent::WModuleConnectorEvent ( WModule::SPtr  module,
WModuleConnector::SPtr  connector 
)

Creates a new event denoting the updated connector of a module.

Parameters
modulethe module
connectorthe output changed

Definition at line 29 of file WModuleConnectorEvent.cpp.

◆ ~WModuleConnectorEvent()

WModuleConnectorEvent::~WModuleConnectorEvent ( )
virtual

Destructor.

Definition at line 37 of file WModuleConnectorEvent.cpp.

Member Function Documentation

◆ getConnector()

WModuleConnector::SPtr WModuleConnectorEvent::getConnector ( ) const

Gets the connector that has changed.

Returns
the connector.

Definition at line 42 of file WModuleConnectorEvent.cpp.

References m_connector.

◆ getModule()

WModule::SPtr WModuleConnectorEvent::getModule ( ) const

Gets the module (owner) of the connector.

Returns
the module.

Definition at line 47 of file WModuleConnectorEvent.cpp.

References m_module.

Referenced by WQtControlPanel::event().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_connector

WModuleConnector::SPtr WModuleConnectorEvent::m_connector
protected

The connector.

Definition at line 77 of file WModuleConnectorEvent.h.

Referenced by getConnector().

◆ m_module

WModule::SPtr WModuleConnectorEvent::m_module
protected

The module.

Definition at line 72 of file WModuleConnectorEvent.h.

Referenced by getModule().


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