OIS::Win32Mouse Class Reference

#include <src/ois/win32/Win32Mouse.h>

Inheritance diagram for OIS::Win32Mouse:

OIS::Mouse OIS::Object

List of all members.

Public Member Functions

virtual void _initialize ()
virtual void capture ()
virtual InterfacequeryInterface (Interface::IType type)
virtual void setBuffered (bool buffered)
 Win32Mouse (InputManager *creator, IDirectInput8 *pDI, bool buffered, DWORD coopSettings)
virtual ~Win32Mouse ()

Protected Member Functions

bool _doMouseClick (int mouseButton, DIDEVICEOBJECTDATA &di)

Protected Attributes

DWORD coopSetting
IDirectInput8 * mDirectInput
HWND mHwnd
IDirectInputDevice8 * mMouse


Constructor & Destructor Documentation

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

Win32Mouse::~Win32Mouse (  )  [virtual]

References OIS::Object::mCreator, and mMouse.


Member Function Documentation

bool Win32Mouse::_doMouseClick ( int  mouseButton,
DIDEVICEOBJECTDATA &  di 
) [protected]

void Win32Mouse::_initialize (  )  [virtual]

void Win32Mouse::capture (  )  [virtual]

virtual Interface* OIS::Win32Mouse::queryInterface ( Interface::IType  type  )  [inline, virtual]

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

Implements OIS::Object.

void Win32Mouse::setBuffered ( bool  buffered  )  [virtual]

Remarks:
Sets buffered mode

Implements OIS::Object.

References OIS::Object::mBuffered.


Member Data Documentation

DWORD OIS::Win32Mouse::coopSetting [protected]

Referenced by _initialize(), capture(), and Win32Mouse().

IDirectInput8* OIS::Win32Mouse::mDirectInput [protected]

Referenced by _initialize(), and Win32Mouse().

HWND OIS::Win32Mouse::mHwnd [protected]

Referenced by _initialize(), capture(), and Win32Mouse().

IDirectInputDevice8* OIS::Win32Mouse::mMouse [protected]


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

Generated on Tue Jul 28 16:22:19 2009 for Orxonox by  doxygen 1.5.6