OGRE  1.12.5
Object-Oriented Graphics Rendering Engine
OgreBites::InputListenerChain Class Reference

Chain of multiple InputListeners that acts as a single InputListener. More...

#include <OgreInput.h>

+ Inheritance diagram for OgreBites::InputListenerChain:

Public Member Functions

 InputListenerChain ()
 
 InputListenerChain (std::vector< InputListener *> chain)
 
virtual void frameRendered (const Ogre::FrameEvent &evt)
 
bool keyPressed (const KeyboardEvent &evt)
 
bool keyReleased (const KeyboardEvent &evt)
 
bool mouseMoved (const MouseMotionEvent &evt)
 
bool mousePressed (const MouseButtonEvent &evt)
 
bool mouseReleased (const MouseButtonEvent &evt)
 
bool mouseWheelRolled (const MouseWheelEvent &evt)
 
InputListenerChainoperator= (InputListenerChain o)
 
bool textInput (const TextInputEvent &evt)
 
bool touchMoved (const TouchFingerEvent &evt)
 
bool touchPressed (const TouchFingerEvent &evt)
 
bool touchReleased (const TouchFingerEvent &evt)
 

Detailed Description

Chain of multiple InputListeners that acts as a single InputListener.

input events are propagated front to back until a listener returns true

Constructor & Destructor Documentation

◆ InputListenerChain() [1/2]

OgreBites::InputListenerChain::InputListenerChain ( )
inline

◆ InputListenerChain() [2/2]

OgreBites::InputListenerChain::InputListenerChain ( std::vector< InputListener *>  chain)
inline

Member Function Documentation

◆ operator=()

InputListenerChain& OgreBites::InputListenerChain::operator= ( InputListenerChain  o)
inline

◆ keyPressed()

bool OgreBites::InputListenerChain::keyPressed ( const KeyboardEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ keyReleased()

bool OgreBites::InputListenerChain::keyReleased ( const KeyboardEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ touchMoved()

bool OgreBites::InputListenerChain::touchMoved ( const TouchFingerEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ touchPressed()

bool OgreBites::InputListenerChain::touchPressed ( const TouchFingerEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ touchReleased()

bool OgreBites::InputListenerChain::touchReleased ( const TouchFingerEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ mouseMoved()

bool OgreBites::InputListenerChain::mouseMoved ( const MouseMotionEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ mouseWheelRolled()

bool OgreBites::InputListenerChain::mouseWheelRolled ( const MouseWheelEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ mousePressed()

bool OgreBites::InputListenerChain::mousePressed ( const MouseButtonEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ mouseReleased()

bool OgreBites::InputListenerChain::mouseReleased ( const MouseButtonEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ textInput()

bool OgreBites::InputListenerChain::textInput ( const TextInputEvent evt)
inlinevirtual

Reimplemented from OgreBites::InputListener.

◆ frameRendered()

virtual void OgreBites::InputListener::frameRendered ( const Ogre::FrameEvent evt)
inlinevirtualinherited

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