|
OIS
1.5
Object-oriented Input System
|
#include <OISMouse.h>
Public Member Functions | |
| virtual | ~Mouse () |
| virtual void | setEventCallback (MouseListener *mouseListener) |
| MouseListener * | getEventCallback () const |
| const MouseState & | getMouseState () const |
Public Member Functions inherited from OIS::Object | |
| virtual | ~Object () |
| Type | type () const |
| const std::string & | vendor () const |
| virtual bool | buffered () const |
| InputManager * | getCreator () const |
| virtual void | setBuffered (bool buffered)=0 |
| virtual void | capture ()=0 |
| virtual int | getID () const |
| virtual Interface * | queryInterface (Interface::IType type)=0 |
| virtual void | _initialize ()=0 |
Protected Member Functions | |
| Mouse (const std::string &vendor, bool buffered, int devID, InputManager *creator) | |
Protected Member Functions inherited from OIS::Object | |
| Object (const std::string &vendor, Type iType, bool buffered, int devID, InputManager *creator) | |
Protected Attributes | |
| MouseState | mState |
| The state of the mouse. More... | |
| MouseListener * | mListener |
| Used for buffered/actionmapping callback. More... | |
Protected Attributes inherited from OIS::Object | |
| std::string | mVendor |
| Vendor name if applicable/known. More... | |
| Type | mType |
| Type of controller object. More... | |
| bool | mBuffered |
| Buffered flag. More... | |
| int | mDevID |
| Not fully implemented yet. More... | |
| InputManager * | mCreator |
| The creator who created this object. More... | |
Mouse base class. To be implemented by specific system (ie. DirectX Mouse) This class is useful as you remain OS independent using this common interface.
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
inline |
|
inlinevirtual |
| mouseListener | Send a pointer to a class derived from MouseListener or 0 to clear the callback |
|
protected |
Used for buffered/actionmapping callback.
|
protected |
The state of the mouse.
1.8.14