Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OIS::Win32Mouse Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/win32/Win32Mouse.h>

Inheritance diagram for OIS::Win32Mouse:
OIS::Mouse OIS::Object

Public Member Functions

 Win32Mouse (InputManager *creator, IDirectInput8 *pDI, bool buffered, DWORD coopSettings)
 
virtual ~Win32Mouse ()
 
virtual void _initialize ()
 
virtual void capture ()
 
virtual InterfacequeryInterface (Interface::IType type)
 
virtual void setBuffered (bool buffered)
 
- Public Member Functions inherited from OIS::Mouse
virtual ~Mouse ()
 
MouseListenergetEventCallback () const
 
const MouseStategetMouseState () const
 
virtual void setEventCallback (MouseListener *mouseListener)
 
- Public Member Functions inherited from OIS::Object
virtual ~Object ()
 
virtual bool buffered () const
 
InputManagergetCreator () const
 
virtual int getID () const
 
Type type () const
 
const std::string & vendor () const
 

Protected Member Functions

bool _doMouseClick (int mouseButton, DIDEVICEOBJECTDATA &di)
 
- Protected Member Functions inherited from OIS::Mouse
 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

DWORD coopSetting
 
IDirectInput8 * mDirectInput
 
HWND mHwnd
 
IDirectInputDevice8 * mMouse
 
- Protected Attributes inherited from OIS::Mouse
MouseListenermListener
 Used for buffered/actionmapping callback. More...
 
MouseState mState
 The state of the mouse. More...
 
- Protected Attributes inherited from OIS::Object
bool mBuffered
 Buffered flag. More...
 
InputManagermCreator
 The creator who created this object. More...
 
int mDevID
 Not fully implemented yet. More...
 
Type mType
 Type of controller object. More...
 
std::string mVendor
 Vendor name if applicable/known. More...
 

Constructor & Destructor Documentation

Win32Mouse::Win32Mouse ( InputManager creator,
IDirectInput8 *  pDI,
bool  buffered,
DWORD  coopSettings 
)
Win32Mouse::~Win32Mouse ( )
virtual

Member Function Documentation

bool Win32Mouse::_doMouseClick ( int  mouseButton,
DIDEVICEOBJECTDATA &  di 
)
protected
void Win32Mouse::_initialize ( )
virtual

Remarks
Internal... Do not call this directly.

Implements OIS::Object.

void Win32Mouse::capture ( )
virtual

Remarks
Used for updating call once per frame before checking state or to update events

Implements OIS::Object.

virtual Interface* OIS::Win32Mouse::queryInterface ( Interface::IType  type)
inlinevirtual

Remarks
If available, get an interface to write to some devices. Examples include, turning on and off LEDs, ForceFeedback, etc
Parameters
typeThe type of interface you are looking for

Implements OIS::Object.

void Win32Mouse::setBuffered ( bool  buffered)
virtual

Remarks
Sets buffered mode

Implements OIS::Object.

Member Data Documentation

DWORD OIS::Win32Mouse::coopSetting
protected
IDirectInput8* OIS::Win32Mouse::mDirectInput
protected
HWND OIS::Win32Mouse::mHwnd
protected
IDirectInputDevice8* OIS::Win32Mouse::mMouse
protected

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