#include <src/ois/OISMouse.h>
Public Member Functions | |
MouseListener * | getEventCallback () const |
const MouseState & | getMouseState () const |
virtual void | setEventCallback (MouseListener *mouseListener) |
virtual | ~Mouse () |
Protected Member Functions | |
Mouse (const std::string &vendor, bool buffered, int devID, InputManager *creator) | |
Protected Attributes | |
MouseListener * | mListener |
Used for buffered/actionmapping callback. | |
MouseState | mState |
The state of the mouse. |
virtual OIS::Mouse::~Mouse | ( | ) | [inline, virtual] |
OIS::Mouse::Mouse | ( | const std::string & | vendor, | |
bool | buffered, | |||
int | devID, | |||
InputManager * | creator | |||
) | [inline, protected] |
MouseListener* OIS::Mouse::getEventCallback | ( | ) | const [inline] |
const MouseState& OIS::Mouse::getMouseState | ( | ) | const [inline] |
Referenced by orxonox::InputManager::_reload(), and orxonox::InputManager::setWindowExtents().
virtual void OIS::Mouse::setEventCallback | ( | MouseListener * | mouseListener | ) | [inline, virtual] |
mouseListener | Send a pointer to a class derived from MouseListener or 0 to clear the callback |
Referenced by orxonox::InputManager::_initialiseMouse().
MouseListener* OIS::Mouse::mListener [protected] |
Used for buffered/actionmapping callback.
Referenced by OIS::Win32Mouse::_doMouseClick(), OIS::MacMouse::_mouseCallback(), OIS::LinuxMouse::_processXEvents(), OIS::Win32Mouse::capture(), OIS::MacMouse::capture(), and OIS::LinuxMouse::capture().
MouseState OIS::Mouse::mState [protected] |
The state of the mouse.
Referenced by OIS::Win32Mouse::_doMouseClick(), OIS::Win32Mouse::_initialize(), OIS::MacMouse::_initialize(), OIS::LinuxMouse::_initialize(), OIS::MacMouse::_mouseCallback(), OIS::LinuxMouse::_processXEvents(), OIS::Win32Mouse::capture(), OIS::MacMouse::capture(), and OIS::LinuxMouse::capture().