Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Private Attributes | List of all members
orxonox::KeyEvent Class Reference

Event argument for key events. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/input/InputHandler.h>

Public Member Functions

 KeyEvent (const OIS::KeyEvent &evt)
 
 KeyEvent (KeyCode::ByEnum key, unsigned int text, int modifiers)
 
KeyCode::ByEnum getKeyCode () const
 
unsigned int getText () const
 
bool isModifierDown (KeyboardModifier::Enum modifier) const
 
bool operator!= (const KeyEvent &rhs) const
 
bool operator== (const KeyEvent &rhs) const
 
void setModifiers (int modifiers)
 

Private Attributes

KeyCode::ByEnum key_
 
int modifiers_
 
unsigned int text_
 

Detailed Description

Event argument for key events.

Constructor & Destructor Documentation

orxonox::KeyEvent::KeyEvent ( const OIS::KeyEvent evt)
inline
orxonox::KeyEvent::KeyEvent ( KeyCode::ByEnum  key,
unsigned int  text,
int  modifiers 
)
inline

Member Function Documentation

KeyCode::ByEnum orxonox::KeyEvent::getKeyCode ( ) const
inline
unsigned int orxonox::KeyEvent::getText ( ) const
inline
bool orxonox::KeyEvent::isModifierDown ( KeyboardModifier::Enum  modifier) const
inline
bool orxonox::KeyEvent::operator!= ( const KeyEvent rhs) const
inline
bool orxonox::KeyEvent::operator== ( const KeyEvent rhs) const
inline
void orxonox::KeyEvent::setModifiers ( int  modifiers)
inline

Member Data Documentation

KeyCode::ByEnum orxonox::KeyEvent::key_
private
int orxonox::KeyEvent::modifiers_
private
unsigned int orxonox::KeyEvent::text_
private

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