Rasterfarm-SDK
|
#include <eventhandler.h>
Public Member Functions | |
KeyboardEventHandler (const HeapArray< TypeID > &subTypeFilter={ KeyboardEvent::KEYBOARD_PRESS, KeyboardEvent::KEYBOARD_RELEASE, KeyboardEvent::KEYBOARD_REPEAT }) | |
virtual | ~KeyboardEventHandler () |
Public Member Functions inherited from EventHandler | |
EventHandler (const HeapArray< TypeID > &filter={}, const HeapArray< TypeID > &subTypeFilter={}) | |
virtual | ~EventHandler () |
void | send (const Event &event) |
bool | filterEvent (const Event &event) |
Protected Member Functions | |
virtual void | keyboardEvent (const KeyboardEvent &event)=0 |
Additional Inherited Members | |
Protected Attributes inherited from EventHandler | |
HeapArray< TypeID > | filter |
HeapArray< TypeID > | subTypeFilter |
KeyboardEventHandler::KeyboardEventHandler | ( | const HeapArray< TypeID > & | subTypeFilter = { KeyboardEvent::KEYBOARD_PRESS, KeyboardEvent::KEYBOARD_RELEASE, KeyboardEvent::KEYBOARD_REPEAT } | ) |
|
virtual |
|
protectedpure virtual |