#include <HIDCore.h>

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 |
Definition at line 13 of file HIDCore.h.
| typedef std::pair<int,int> HIDCore::HIDIdentification |
| typedef std::list<HIDIdentification> HIDCore::HIDIdentificationList |
| virtual HIDCore::~HIDCore | ( | ) | [virtual] |
| HIDCore::HIDCore | ( | ) | [protected] |
| HIDCore::HIDCore | ( | int | vendorID, | |
| int | productID | |||
| ) | [protected] |
| virtual void HIDCore::disable | ( | ) | [protected, virtual] |
Reimplemented in HIDAppleIRReceiver, HIDPowerMate, and HIDSpacemouse.
| 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] |
| void HIDCore::watchElement | ( | int | usagePage, | |
| int | usage | |||
| ) | [protected] |
int HIDCore::_productID [protected] |
int HIDCore::_vendorID [protected] |
1.5.8