API Documentation
|
A high-level controller that stores many sub controllers that can be used to modify behaviors on user key-presses. More...
#include <KeyController.h>
Public Member Functions | |
void | addController (UUID id, KeyControllerBase *controller) |
Buffer< KeyControllerBase * > | controllers () const |
bool | hasController (UUID id) const |
KeyController () | |
bool | processKeyEvent (const KeyEvent &event, DesignObjectLookup *lookup, Camera *camera) override |
void | removeController (UUID id) |
virtual | ~KeyController () |
Public Member Functions inherited from KeyControllerBase |
Static Public Member Functions | |
static KeyController & | DefaultKeyController () |
A high-level controller that stores many sub controllers that can be used to modify behaviors on user key-presses.
KeyController | ( | ) |
|
inlinevirtual |
void addController | ( | UUID | id, |
KeyControllerBase * | controller ) |
Buffer< KeyControllerBase * > controllers | ( | ) | const |
|
static |
bool hasController | ( | UUID | id | ) | const |
|
overridevirtual |
Implements KeyControllerBase.
void removeController | ( | UUID | id | ) |