HIDCore Class Reference

#include <HIDCore.h>

Inheritance diagram for HIDCore:

HIDAppleIRReceiver HIDPowerMate HIDSpacemouse

List of all members.

Public Types

typedef std::pair< int, int > HIDIdentification
typedef std::list
< HIDIdentification
HIDIdentificationList

Public Member Functions

typedef void InterruptReportHandler (void *userData, UInt8 *buffer, UInt32 bufSize)
typedef void EventQueueHandler (void *userData, int usagePage, int usage, SInt32 value)
typedef void InterruptPassedHandler (void *userData)
virtual ~HIDCore ()

Protected Member Functions

 HIDCore ()
 HIDCore (int vendorID, int productID)
void setProductID (int vendorID, int productID)
void setInterruptReportHandler (InterruptReportHandler *cb, void *userData)
void setEventQueueHandler (EventQueueHandler *cb, void *userData)
void setInterruptPassedHandler (UInt32 millsec, InterruptPassedHandler *cb, void *userData)
void watchElement (int usagePage, int usage)
virtual bool enable ()
virtual void disable ()
IOHIDDeviceInterface122 ** getDeviceInterface ()

Static Protected Member Functions

static bool exists (int vendorID, int productID)
static bool exists (const HIDIdentificationList &deviceIdList)

Protected Attributes

int _vendorID
int _productID


Detailed Description

Definition at line 13 of file HIDCore.h.


Member Typedef Documentation

typedef std::pair<int,int> HIDCore::HIDIdentification

Definition at line 17 of file HIDCore.h.

Definition at line 18 of file HIDCore.h.


Constructor & Destructor Documentation

virtual HIDCore::~HIDCore (  )  [virtual]

HIDCore::HIDCore (  )  [protected]

HIDCore::HIDCore ( int  vendorID,
int  productID 
) [protected]


Member Function Documentation

virtual void HIDCore::disable (  )  [protected, virtual]

virtual bool HIDCore::enable (  )  [protected, virtual]

typedef void HIDCore::EventQueueHandler ( void *  userData,
int  usagePage,
int  usage,
SInt32  value 
)

static bool HIDCore::exists ( const HIDIdentificationList deviceIdList  )  [static, protected]

static bool HIDCore::exists ( int  vendorID,
int  productID 
) [static, protected]

IOHIDDeviceInterface122** HIDCore::getDeviceInterface (  )  [protected]

typedef void HIDCore::InterruptPassedHandler ( void *  userData  ) 

typedef void HIDCore::InterruptReportHandler ( void *  userData,
UInt8 *  buffer,
UInt32  bufSize 
)

void HIDCore::setEventQueueHandler ( EventQueueHandler *  cb,
void *  userData 
) [protected]

void HIDCore::setInterruptPassedHandler ( UInt32  millsec,
InterruptPassedHandler *  cb,
void *  userData 
) [protected]

void HIDCore::setInterruptReportHandler ( InterruptReportHandler *  cb,
void *  userData 
) [protected]

void HIDCore::setProductID ( int  vendorID,
int  productID 
) [inline, protected]

Definition at line 33 of file HIDCore.h.

References _productID, and _vendorID.

void HIDCore::watchElement ( int  usagePage,
int  usage 
) [protected]


Member Data Documentation

int HIDCore::_productID [protected]

Definition at line 57 of file HIDCore.h.

Referenced by setProductID().

int HIDCore::_vendorID [protected]

Definition at line 56 of file HIDCore.h.

Referenced by setProductID().


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