API Documentation
Loading...
Searching...
No Matches
KeyController Class Reference

A high-level controller that stores many sub controllers that can be used to modify behaviors on user key-presses. More...

#include <KeyController.h>

Inheritance diagram for KeyController:
[legend]
Collaboration diagram for KeyController:
[legend]

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 KeyControllerDefaultKeyController ()
 

Detailed Description

A high-level controller that stores many sub controllers that can be used to modify behaviors on user key-presses.


Constructor & Destructor Documentation

◆ KeyController()

◆ ~KeyController()

virtual ~KeyController ( )
inlinevirtual

Member Function Documentation

◆ addController()

void addController ( UUID id,
KeyControllerBase * controller )

◆ controllers()

Buffer< KeyControllerBase * > controllers ( ) const

◆ DefaultKeyController()

static KeyController & DefaultKeyController ( )
static

◆ hasController()

bool hasController ( UUID id) const

◆ processKeyEvent()

bool processKeyEvent ( const KeyEvent & event,
DesignObjectLookup * lookup,
Camera * camera )
overridevirtual

Implements KeyControllerBase.

◆ removeController()

void removeController ( UUID id)

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