Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | List of all members
OIS::KeyListener Class Referenceabstract

To recieve buffered keyboard input, derive a class from this, and implement the methods here. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/OISKeyboard.h>

Inheritance diagram for OIS::KeyListener:
orxonox::Keyboard

Public Member Functions

virtual ~KeyListener ()
 
virtual bool keyPressed (const KeyEvent &arg)=0
 
virtual bool keyReleased (const KeyEvent &arg)=0
 

Detailed Description

To recieve buffered keyboard input, derive a class from this, and implement the methods here.

Then set the call back to your Keyboard instance with Keyboard::setEventCallback

Constructor & Destructor Documentation

virtual OIS::KeyListener::~KeyListener ( )
inlinevirtual

Member Function Documentation

virtual bool OIS::KeyListener::keyPressed ( const KeyEvent arg)
pure virtual

Implemented in orxonox::Keyboard.

virtual bool OIS::KeyListener::keyReleased ( const KeyEvent arg)
pure virtual

Implemented in orxonox::Keyboard.


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