OpenWalnut
1.5.0dev
|
Event signalling a new module has been associated with the root container in the kernel. More...
#include <WModuleReadyEvent.h>
Public Member Functions | |
WModuleReadyEvent (std::shared_ptr< WModule > module) | |
Creates a new event instance denoting that the specified module got associated in the root container. More... | |
virtual | ~WModuleReadyEvent () |
Destructor. More... | |
std::shared_ptr< WModule > | getModule () |
Getter for the module that got associated. More... | |
Protected Attributes | |
std::shared_ptr< WModule > | m_module |
The module that got associated. More... | |
Event signalling a new module has been associated with the root container in the kernel.
Please note that it is possible that the module is already marked as "ready" while processing this event due to the multithreading.
Definition at line 38 of file WModuleReadyEvent.h.
|
explicit |
Creates a new event instance denoting that the specified module got associated in the root container.
module | the module that switched its state. |
Definition at line 30 of file WModuleReadyEvent.cpp.
|
virtual |
Destructor.
Definition at line 37 of file WModuleReadyEvent.cpp.
std::shared_ptr< WModule > WModuleReadyEvent::getModule | ( | ) |
Getter for the module that got associated.
Definition at line 42 of file WModuleReadyEvent.cpp.
References m_module.
Referenced by WQtControlPanel::event(), WQtNetworkEditor::event(), and WMainWindow::event().
|
protected |
The module that got associated.
Definition at line 64 of file WModuleReadyEvent.h.
Referenced by getModule().