Orxonox: OIS::MouseListener Class Reference

# OIS::MouseListener Class Reference

`#include <src/ois/OISMouse.h>`

Inheritance diagram for OIS::MouseListener:

List of all members.

## Public Member Functions

virtual bool | mouseMoved (const MouseEvent &arg)=0
virtual bool | mousePressed (const MouseEvent &arg, MouseButtonID id)=0
virtual bool | mouseReleased (const MouseEvent &arg, MouseButtonID id)=0
virtual | ~MouseListener ()

## Detailed Description

To recieve buffered mouse input, derive a class from this, and implement the methods here. Then set the call back to your Mouse instance with Mouse::setEventCallback

## Constructor & Destructor Documentation

virtual OIS::MouseListener::~MouseListener | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual bool OIS::MouseListener::mouseMoved | ( | const MouseEvent & | arg | ) | `[pure virtual]`

Implemented in orxonox::InputManager.

Referenced by OIS::Win32Mouse::capture(), OIS::MacMouse::capture(), and OIS::LinuxMouse::capture().

virtual bool OIS::MouseListener::mousePressed | ( | const MouseEvent & | arg,
|  | MouseButtonID | id |
| ) |  |  | `[pure virtual]`

Implemented in orxonox::InputManager.

Referenced by OIS::Win32Mouse::_doMouseClick(), OIS::MacMouse::_mouseCallback(), and OIS::LinuxMouse::_processXEvents().

virtual bool OIS::MouseListener::mouseReleased | ( | const MouseEvent & | arg,
|  | MouseButtonID | id |
| ) |  |  | `[pure virtual]`

Implemented in orxonox::InputManager.

Referenced by OIS::Win32Mouse::_doMouseClick(), OIS::MacMouse::_mouseCallback(), and OIS::LinuxMouse::_processXEvents().

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

- src/ois/OISMouse.h