Rasterfarm-SDK
Loading...
Searching...
No Matches
KeyboardEventHandler Class Referenceabstract

#include <eventhandler.h>

Inheritance diagram for KeyboardEventHandler:
EventHandler

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
 

Constructor & Destructor Documentation

◆ KeyboardEventHandler()

KeyboardEventHandler::KeyboardEventHandler ( const HeapArray< TypeID > & subTypeFilter = KeyboardEvent::KEYBOARD_PRESSKeyboardEvent::KEYBOARD_RELEASEKeyboardEvent::KEYBOARD_REPEAT })

◆ ~KeyboardEventHandler()

virtual KeyboardEventHandler::~KeyboardEventHandler ( )
virtual

Member Function Documentation

◆ keyboardEvent()

virtual void KeyboardEventHandler::keyboardEvent ( const KeyboardEvent & event)
protectedpure virtual

The documentation for this class was generated from the following file: