Workspace 6.21.5
|
Event raised when the main application event loop stops. More...
#include <Workspace/Application/globalnotifications.h>
Additional Inherited Members | |
Public Member Functions inherited from ObservableEventType< ShutdownEvent > | |
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::AllObservableEvents > & | eventID () |
CSIRO_WORKSPACE_API const EventIDSingleton< CSIRO::DataExecution::ProgressEvent > & | eventID () |
const EventIDSingleton< ShutdownEvent > & | getEventID () const override |
Public Member Functions inherited from ObservableEvent | |
virtual | ~ObservableEvent ()=default |
virtual const EventID & | getEventID () const =0 |
Static Public Member Functions inherited from ObservableEventType< ShutdownEvent > | |
static const EventIDSingleton< ShutdownEvent > & | eventID () |
Protected Member Functions inherited from ObservableEventType< ShutdownEvent > | |
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.