version 3.3

VRS::Qt4SpaceMouseDevice Class Reference

#include <vrs/qt4/qt4spacemousedevice.h>

Inheritance diagram for VRS::Qt4SpaceMouseDevice:

VRS::Qt4WinApplication::Device VRS::SharedObj VRS::Visitable

List of all members.

Public Types

enum  State { DllLoadFailed, DeviceCouldNotBeOpened, NoError }

Public Member Functions

 Qt4SpaceMouseDevice (QMainWindow *mainWindow)
virtual ~Qt4SpaceMouseDevice ()
State getState () const
 Returns the initialization result.
SO< EventprocessEvent (const MSG &msg)
 Called by VRSQTWinApplication.
 VRS_TYPEINFO (Qt4SpaceMouseDevice, Qt4WinApplication::Device)


Detailed Description

Qt4SpaceMouseDevice provides to use a Connexion Space Mouse in VRS-QT (only for Windows). If a SpaceMouseDevice is registered in a VRSQTWinApplication, it produces VRS events from the messages sent by the device driver.

Note: If the initialization process fails, no error is procuced, because the device is an optional feature and should not lead to a program failure. Use getState() to check the initialization result.


Member Enumeration Documentation

Enumerator:
DllLoadFailed 
DeviceCouldNotBeOpened 
NoError 


Constructor & Destructor Documentation

VRS::Qt4SpaceMouseDevice::Qt4SpaceMouseDevice ( QMainWindow mainWindow  ) 

virtual VRS::Qt4SpaceMouseDevice::~Qt4SpaceMouseDevice (  )  [virtual]


Member Function Documentation

State VRS::Qt4SpaceMouseDevice::getState (  )  const

Returns the initialization result.

SO<Event> VRS::Qt4SpaceMouseDevice::processEvent ( const MSG msg  )  [virtual]

Called by VRSQTWinApplication.

Implements VRS::Qt4WinApplication::Device.

VRS::Qt4SpaceMouseDevice::VRS_TYPEINFO ( Qt4SpaceMouseDevice  ,
Qt4WinApplication::Device   
)


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

Generated on Tue May 22 06:00:27 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact