This is intended to convey the message that quitting needs to happen. More...
#include <eventquit.h>
Public Member Functions | |
virtual EventType | GetType () const |
This returns EventType::QuitMessage. More... | |
Public Member Functions inherited from Mezzanine::EventBase | |
virtual | ~EventBase () |
Virtual Deconstructor. | |
Additional Inherited Members | |
Public Types inherited from Mezzanine::EventBase | |
enum | EventType { GameWindow, QuitMessage, UserInput, Other } |
A listing of values that can be used to identify Events. More... | |
This is intended to convey the message that quitting needs to happen.
This stores not data other than the fact that this is a Quit event. This means that either an underlying system like the OS or a service has requested a quit, or the application has manually put a quit message in the queue to signal that a graceful shutdown needs to occur.
Definition at line 63 of file eventquit.h.
|
virtual |
This returns EventType::QuitMessage.
This returns the kind of message this is, specifcally EventType::QuitMessage . If this functions returns EventType::QuitMessage, then and event pointer can safely be cast to Mezzanine::EventQuit . This method is inherited from Mezzanine::Event .
Implements Mezzanine::EventBase.
Definition at line 52 of file eventquit.cpp.