OpenWalnut
1.5.0dev
|
Event signalling a new module has been associated with the root container in the kernel. More...
#include <WModuleCrashEvent.h>
Public Member Functions | |
WModuleCrashEvent (std::shared_ptr< WModule > module, std::string message) | |
Creates a new event instance denoting that the specified module got associated in the root container. More... | |
virtual | ~WModuleCrashEvent () |
Destructor. More... | |
std::shared_ptr< WModule > | getModule () |
Getter for the module that got associated. More... | |
std::string | getMessage () |
The crash message. More... | |
Protected Attributes | |
std::shared_ptr< WModule > | m_module |
The module that got associated. More... | |
std::string | m_message |
The crash message. 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 39 of file WModuleCrashEvent.h.
WModuleCrashEvent::WModuleCrashEvent | ( | std::shared_ptr< WModule > | module, |
std::string | message | ||
) |
Creates a new event instance denoting that the specified module got associated in the root container.
module | the module that switched its state. |
message | the crash message. |
Definition at line 31 of file WModuleCrashEvent.cpp.
|
virtual |
Destructor.
Definition at line 39 of file WModuleCrashEvent.cpp.
std::string WModuleCrashEvent::getMessage | ( | ) |
The crash message.
Definition at line 49 of file WModuleCrashEvent.cpp.
References m_message.
Referenced by WMainWindow::event().
std::shared_ptr< WModule > WModuleCrashEvent::getModule | ( | ) |
Getter for the module that got associated.
Definition at line 44 of file WModuleCrashEvent.cpp.
References m_module.
Referenced by WQtNetworkEditor::event(), and WMainWindow::event().
|
protected |
|
protected |
The module that got associated.
Definition at line 73 of file WModuleCrashEvent.h.
Referenced by getModule().