SoQtAppleRemote Class Reference

Apple remote control device driver for Open Inventor. More...

#include <SoQtAppleRemote.h>

List of all members.

Public Member Functions

 SoQtAppleRemote ()
 Constructor.
 ~SoQtAppleRemote ()
 Destructor.
virtual const SoEvent * translateEvent (QEvent *event)
 This converts a window system event into an SoEvent.
virtual void enable (QWidget *w, SoQtEventHandler *f, void *data)
 These functions will enable/disable this device for the passed widget.
virtual void disable (QWidget *w, SoQtEventHandler *f, void *data)

Static Public Member Functions

static SbBool exists ()
 Return whether or not the Apple remote control device exists for use.
static void initClass ()


Detailed Description

Apple remote control device driver for Open Inventor.

The driver supports the Apple IR remote control device. On Mac OS X no additional driver is required.

The button state of the device gets translated into a SoAppleRemoteButtonEvent.

Author:
Felix Ritter
Date:
2007

Definition at line 41 of file SoQtAppleRemote.h.


Constructor & Destructor Documentation

SoQtAppleRemote::SoQtAppleRemote (  ) 

Constructor.

SoQtAppleRemote::~SoQtAppleRemote (  ) 

Destructor.


Member Function Documentation

virtual void SoQtAppleRemote::disable ( QWidget *  w,
SoQtEventHandler *  f,
void *  data 
) [virtual]

virtual void SoQtAppleRemote::enable ( QWidget *  w,
SoQtEventHandler *  f,
void *  data 
) [virtual]

These functions will enable/disable this device for the passed widget.

The callback function f will be invoked when events occur in w. data is the clientData which will be passed.

static SbBool SoQtAppleRemote::exists (  )  [static]

Return whether or not the Apple remote control device exists for use.

static void SoQtAppleRemote::initClass (  )  [static]

virtual const SoEvent* SoQtAppleRemote::translateEvent ( QEvent *  event  )  [virtual]

This converts a window system event into an SoEvent.

The function returns NULL if the event is not from this device.


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

Generated on Sat Sep 3 18:39:32 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8