![]() |
OpenWalnut
1.5.0dev
|
Event signalling a new module has been associated with the root container in the kernel. More...
#include <WModuleAssocEvent.h>
Inheritance diagram for WModuleAssocEvent:
Collaboration diagram for WModuleAssocEvent:Public Member Functions | |
| WModuleAssocEvent (std::shared_ptr< WModule > module) | |
| Creates a new event instance denoting that the specified module got associated in the root container. More... | |
| virtual | ~WModuleAssocEvent () |
| 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 WModuleAssocEvent.h.
|
explicit |
Creates a new event instance denoting that the specified module got associated in the root container.
| module | the module that got associated. |
Definition at line 30 of file WModuleAssocEvent.cpp.
|
virtual |
Destructor.
Definition at line 37 of file WModuleAssocEvent.cpp.
| std::shared_ptr< WModule > WModuleAssocEvent::getModule | ( | ) |
Getter for the module that got associated.
Definition at line 42 of file WModuleAssocEvent.cpp.
References m_module.
Referenced by WQtControlPanel::event(), and WQtNetworkEditor::event().
Here is the caller graph for this function:
|
protected |
The module that got associated.
Definition at line 64 of file WModuleAssocEvent.h.
Referenced by getModule().