Orxonox: orxonox::KeyHandler Class Reference

# orxonox::KeyHandler Class Reference

Interface class used for key input listeners. More...

`#include <src/core/input/InputInterfaces.h>`

Inheritance diagram for orxonox::KeyHandler:

List of all members.

## Public Member Functions

virtual void | keyHeld (const KeyEvent &evt)=0
virtual void | keyPressed (const KeyEvent &evt)=0
virtual void | keyReleased (const KeyEvent &evt)=0
virtual void | updateKey (float dt)=0
virtual | ~KeyHandler ()

## Detailed Description

Interface class used for key input listeners.

## Constructor & Destructor Documentation

virtual orxonox::KeyHandler::~KeyHandler | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual void orxonox::KeyHandler::keyHeld | ( | const KeyEvent & | evt | ) | `[pure virtual]`

Implemented in orxonox::InputBuffer, orxonox::EmptyHandler, orxonox::KeyBinder, and orxonox::GUIManager.

Referenced by orxonox::SimpleInputState::keyHeld().

virtual void orxonox::KeyHandler::keyPressed | ( | const KeyEvent & | evt | ) | `[pure virtual]`

Implemented in orxonox::InputBuffer, orxonox::EmptyHandler, orxonox::KeyBinder, and orxonox::GUIManager.

Referenced by orxonox::SimpleInputState::keyPressed().

virtual void orxonox::KeyHandler::keyReleased | ( | const KeyEvent & | evt | ) | `[pure virtual]`

Implemented in orxonox::InputBuffer, orxonox::EmptyHandler, orxonox::KeyBinder, and orxonox::GUIManager.

Referenced by orxonox::SimpleInputState::keyReleased().

virtual void orxonox::KeyHandler::updateKey | ( | float | dt | ) | `[pure virtual]`

Implemented in orxonox::InputBuffer, orxonox::EmptyHandler, orxonox::KeyBinder, and orxonox::GUIManager.

Referenced by orxonox::SimpleInputState::updateInput().

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

- src/core/input/InputInterfaces.h