se_ogre::InputHandler Class Reference

#include <InputHandler.hpp>

Inheritance diagram for se_ogre::InputHandler:

se_ogre::SpeechBubble List of all members.

Public Member Functions

 InputHandler (const char *name)
virtual ~InputHandler ()
virtual bool moveCamera (float stepDelta)
virtual void keyPressed (const OIS::KeyEvent *e)
virtual void keyReleased (const OIS::KeyEvent *e)
virtual void mousePressed (const OIS::MouseEvent *e, int button)
virtual void mouseReleased (const OIS::MouseEvent *e, int button)
virtual void mouseDragged (const OIS::MouseEvent *e)
virtual void mouseMoved (const OIS::MouseEvent *e)
virtual bool joyButtonPressed (int button)
virtual bool joyButtonReleased (int button)
virtual bool buttonPressed (const OIS::JoyStickEvent &arg, int button)
virtual bool buttonReleased (const OIS::JoyStickEvent &arg, int button)
virtual bool axisMoved (const OIS::JoyStickEvent &arg, int axis)
virtual bool sliderMoved (const OIS::JoyStickEvent &, int)
virtual bool povMoved (const OIS::JoyStickEvent &, int)
InputHandlerbelow ()
bool isShiftDown () const
bool isAltDown () const
bool isControlDown () const
bool isWinDown () const
void grabFocus ()
void loseFocus ()
bool hasFocus ()
virtual void grabbedFocusEvent ()=0
virtual void lostFocusEvent ()=0
const char * name ()

Constructor & Destructor Documentation

se_ogre::InputHandler::InputHandler const char *  name  ) 
 

Definition at line 30 of file InputHandler.cpp.

References se_ogre::InputManager::add(), and se_ogre::O3dSchema::inputManager().

se_ogre::InputHandler::~InputHandler  )  [virtual]
 

Definition at line 36 of file InputHandler.cpp.

References se_ogre::O3dSchema::inputManager(), and se_ogre::InputManager::remove().


Member Function Documentation

virtual bool se_ogre::InputHandler::axisMoved const OIS::JoyStickEvent &  arg,
int  axis
[inline, virtual]
 

Definition at line 49 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::axisMoved(), and se_ogre::O3dInputBridge::step().

InputHandler * se_ogre::InputHandler::below  ) 
 

Definition at line 80 of file InputHandler.cpp.

References se_ogre::InputManager::below(), and se_ogre::O3dSchema::inputManager().

Referenced by se_ogre::SpeechBubble::joyButtonReleased(), se_ogre::SpeechBubble::keyReleased(), and se_ogre::SpeechBubble::mouseReleased().

virtual bool se_ogre::InputHandler::buttonPressed const OIS::JoyStickEvent &  arg,
int  button
[inline, virtual]
 

Definition at line 47 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::buttonPressed().

virtual bool se_ogre::InputHandler::buttonReleased const OIS::JoyStickEvent &  arg,
int  button
[inline, virtual]
 

Definition at line 48 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::buttonReleased().

virtual void se_ogre::InputHandler::grabbedFocusEvent  )  [pure virtual]
 

Implemented in se_ogre::SpeechBubble.

Referenced by se_ogre::InputManager::pop(), and se_ogre::InputManager::push().

void se_ogre::InputHandler::grabFocus  ) 
 

Definition at line 67 of file InputHandler.cpp.

References se_ogre::O3dSchema::inputManager(), and se_ogre::InputManager::push().

bool se_ogre::InputHandler::hasFocus  ) 
 

Definition at line 62 of file InputHandler.cpp.

References se_ogre::InputManager::active(), and se_ogre::O3dSchema::inputManager().

bool se_ogre::InputHandler::isAltDown  )  const
 

Definition at line 47 of file InputHandler.cpp.

References se_ogre::O3dSchema::inputManager(), and se_ogre::InputManager::isAltDown().

bool se_ogre::InputHandler::isControlDown  )  const
 

Definition at line 52 of file InputHandler.cpp.

References se_ogre::O3dSchema::inputManager(), and se_ogre::InputManager::isControlDown().

bool se_ogre::InputHandler::isShiftDown  )  const
 

Definition at line 42 of file InputHandler.cpp.

References se_ogre::O3dSchema::inputManager(), and se_ogre::InputManager::isShiftDown().

bool se_ogre::InputHandler::isWinDown  )  const
 

Definition at line 57 of file InputHandler.cpp.

References se_ogre::O3dSchema::inputManager(), and se_ogre::InputManager::isWinDown().

virtual bool se_ogre::InputHandler::joyButtonPressed int  button  )  [inline, virtual]
 

Reimplemented in se_ogre::SpeechBubble.

Definition at line 45 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::step().

virtual bool se_ogre::InputHandler::joyButtonReleased int  button  )  [inline, virtual]
 

Reimplemented in se_ogre::SpeechBubble.

Definition at line 46 of file InputHandler.hpp.

Referenced by se_ogre::SpeechBubble::joyButtonReleased(), and se_ogre::O3dInputBridge::step().

virtual void se_ogre::InputHandler::keyPressed const OIS::KeyEvent *  e  )  [inline, virtual]
 

Reimplemented in se_ogre::SpeechBubble.

Definition at line 37 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::keyPressed().

virtual void se_ogre::InputHandler::keyReleased const OIS::KeyEvent *  e  )  [inline, virtual]
 

Reimplemented in se_ogre::SpeechBubble.

Definition at line 38 of file InputHandler.hpp.

Referenced by se_ogre::SpeechBubble::keyReleased(), and se_ogre::O3dInputBridge::keyReleased().

void se_ogre::InputHandler::loseFocus  ) 
 

Definition at line 74 of file InputHandler.cpp.

References AssertFatal, se_ogre::O3dSchema::inputManager(), and se_ogre::InputManager::pop().

virtual void se_ogre::InputHandler::lostFocusEvent  )  [pure virtual]
 

Implemented in se_ogre::SpeechBubble.

Referenced by se_ogre::InputManager::pop().

virtual void se_ogre::InputHandler::mouseDragged const OIS::MouseEvent *  e  )  [inline, virtual]
 

Definition at line 41 of file InputHandler.hpp.

virtual void se_ogre::InputHandler::mouseMoved const OIS::MouseEvent *  e  )  [inline, virtual]
 

Definition at line 42 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::mouseMoved().

virtual void se_ogre::InputHandler::mousePressed const OIS::MouseEvent *  e,
int  button
[inline, virtual]
 

Reimplemented in se_ogre::SpeechBubble.

Definition at line 39 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::mousePressed().

virtual void se_ogre::InputHandler::mouseReleased const OIS::MouseEvent *  e,
int  button
[inline, virtual]
 

Reimplemented in se_ogre::SpeechBubble.

Definition at line 40 of file InputHandler.hpp.

Referenced by se_ogre::SpeechBubble::mouseReleased(), and se_ogre::O3dInputBridge::mouseReleased().

virtual bool se_ogre::InputHandler::moveCamera float  stepDelta  )  [inline, virtual]
 

Definition at line 35 of file InputHandler.hpp.

Referenced by se_ogre::O3dManager::moveCamera().

const char * se_ogre::InputHandler::name  ) 
 

Definition at line 85 of file InputHandler.cpp.

Referenced by se_ogre::InputManager::add(), and se_ogre::InputManager::push().

virtual bool se_ogre::InputHandler::povMoved const OIS::JoyStickEvent &  ,
int 
[inline, virtual]
 

Definition at line 51 of file InputHandler.hpp.

virtual bool se_ogre::InputHandler::sliderMoved const OIS::JoyStickEvent &  ,
int 
[inline, virtual]
 

Definition at line 50 of file InputHandler.hpp.

Referenced by se_ogre::O3dInputBridge::povMoved(), se_ogre::O3dInputBridge::sliderMoved(), and se_ogre::O3dInputBridge::step().


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:32 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo