![]() |
Workspace 7.1.0
|
Event raised when the main application event loop stops. More...
#include <Workspace/Application/globalnotifications.h>
Additional Inherited Members | |
![]() | |
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & | eventID () |
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & | eventID () |
const EventIDSingleton< ShutdownEvent > & | getEventID () const override |
![]() | |
virtual | ~ObservableEvent ()=default |
virtual const EventID & | getEventID () const =0 |
![]() | |
static const EventIDSingleton< ShutdownEvent > & | eventID () |
![]() | |
ObservableEventType ()=default | |
This event is an alternative to the QCoreApplication::aboutToQuit() signal. It has all of the same weaknesses and stengths, since the GlobalNotifications singleton simply listens for that signal and emits a ShutdownEvent notification if it catches one. Thus, for applications that start the main event loop, a ShutdownEvent is raised, but for applications that do not start the main event loop, there will be no ShutdownEvent notification.