|
blip
0.1
|
An abstract base class for all application events. More...
#include <Event.hpp>

Public Types | |
| enum | Type { Type_Key, Type_Motion, Type_Sensor, Type_Timer } |
| Event types. More... | |
Public Member Functions | |
| virtual | ~Event () |
| Destructor. More... | |
| Type | getType () const |
| Get the event type. More... | |
| virtual time_ms_t | getEventTime () const =0 |
| Get the time at which this event occurred. More... | |
Protected Member Functions | |
| Event (Type type) | |
| Constructor. More... | |
An abstract base class for all application events.
| enum Type |
|
virtual |
Destructor.
|
pure virtual |
Get the time at which this event occurred.
Implemented in MotionEvent, KeyEvent, InputEvent, SensorEvent, and TimerEvent.
|
inline |
Get the event type.