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

Event signalling a module was removed from the kernel root container. More...

#include <WModuleRemovedEvent.h>

+ Inheritance diagram for WModuleRemovedEvent:
+ Collaboration diagram for WModuleRemovedEvent:

Public Member Functions

 WModuleRemovedEvent (std::shared_ptr< WModule > module)
 Creates a new event instance denoting that the specified module got removed from the root container. More...
 
virtual ~WModuleRemovedEvent ()
 Destructor. More...
 
std::shared_ptr< WModulegetModule ()
 Getter for the module that got removed. More...
 

Protected Attributes

std::shared_ptr< WModulem_module
 The module that got removed. More...
 

Detailed Description

Event signalling a module was removed from the kernel root container.

Definition at line 37 of file WModuleRemovedEvent.h.

Constructor & Destructor Documentation

◆ WModuleRemovedEvent()

WModuleRemovedEvent::WModuleRemovedEvent ( std::shared_ptr< WModule module)
explicit

Creates a new event instance denoting that the specified module got removed from the root container.

Parameters
modulethe module

Definition at line 30 of file WModuleRemovedEvent.cpp.

◆ ~WModuleRemovedEvent()

WModuleRemovedEvent::~WModuleRemovedEvent ( )
virtual

Destructor.

Definition at line 37 of file WModuleRemovedEvent.cpp.

Member Function Documentation

◆ getModule()

std::shared_ptr< WModule > WModuleRemovedEvent::getModule ( )

Getter for the module that got removed.

Returns
the module.

Definition at line 42 of file WModuleRemovedEvent.cpp.

References m_module.

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

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_module

std::shared_ptr< WModule > WModuleRemovedEvent::m_module
protected

The module that got removed.

Definition at line 63 of file WModuleRemovedEvent.h.

Referenced by getModule().


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