Odyssey::InputAdapterDecorator Class Reference

#include <InputAdapterDecorator.h>

Inheritance diagram for Odyssey::InputAdapterDecorator:

Odyssey::InputAdapter List of all members.

Public Member Functions

 InputAdapterDecorator (InputAdapter *next, bool manage=true)
 InputAdapterDecorator (InputAdapterPtr ptr)
virtual bool keyPressed (const OIS::KeyEvent &evt)
 Called when a key is pressed on the keyboard.
virtual bool keyReleased (const OIS::KeyEvent &evt)
 Called when a key is released on the keyboard.
virtual bool mouseMoved (const OIS::MouseEvent &evt)
 Called when the mouse is moved.
virtual bool mousePressed (const OIS::MouseEvent &evt, OIS::MouseButtonID id)
 Called when a mouse button is pressed.
virtual bool mouseReleased (const OIS::MouseEvent &evt, OIS::MouseButtonID id)
 Called when a mouse button is released.
virtual bool buttonPressed (const OIS::JoyStickEvent &evt, int id)
 Called when a joystick button is pressed.
virtual bool buttonReleased (const OIS::JoyStickEvent &evt, int id)
 Called when a joystick button is released.
virtual bool axisMoved (const OIS::JoyStickEvent &evt, int axis)
 Called when a joystick axis is moved.
virtual bool povMoved (const OIS::JoyStickEvent &evt, int axis)
 Called when the pov hat on a joystick is moved.

Protected Attributes

InputAdapter_next
InputAdapterPtr _ptr

Constructor & Destructor Documentation

Odyssey::InputAdapterDecorator::InputAdapterDecorator InputAdapter next,
bool  manage = true
 

Odyssey::InputAdapterDecorator::InputAdapterDecorator InputAdapterPtr  ptr  ) 
 


Member Function Documentation

virtual bool Odyssey::InputAdapterDecorator::axisMoved const OIS::JoyStickEvent &  evt,
int  axis
[virtual]
 

Called when a joystick axis is moved.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::buttonPressed const OIS::JoyStickEvent &  evt,
int  id
[virtual]
 

Called when a joystick button is pressed.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::buttonReleased const OIS::JoyStickEvent &  evt,
int  id
[virtual]
 

Called when a joystick button is released.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::keyPressed const OIS::KeyEvent &  evt  )  [virtual]
 

Called when a key is pressed on the keyboard.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::keyReleased const OIS::KeyEvent &  evt  )  [virtual]
 

Called when a key is released on the keyboard.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::mouseMoved const OIS::MouseEvent &  evt  )  [virtual]
 

Called when the mouse is moved.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::mousePressed const OIS::MouseEvent &  evt,
OIS::MouseButtonID  id
[virtual]
 

Called when a mouse button is pressed.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::mouseReleased const OIS::MouseEvent &  evt,
OIS::MouseButtonID  id
[virtual]
 

Called when a mouse button is released.

Reimplemented from Odyssey::InputAdapter.

virtual bool Odyssey::InputAdapterDecorator::povMoved const OIS::JoyStickEvent &  evt,
int  axis
[virtual]
 

Called when the pov hat on a joystick is moved.

Reimplemented from Odyssey::InputAdapter.


Member Data Documentation

InputAdapter* Odyssey::InputAdapterDecorator::_next [protected]
 

InputAdapterPtr Odyssey::InputAdapterDecorator::_ptr [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Jan 7 01:18:52 2007 for Odyssey Meta-Engine by  doxygen 1.4.6-NO