Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
OVR::OSX::HIDDeviceManager Class Reference

#include <OVR_OSX_HIDDevice.h>

Inheritance diagram for OVR::OSX::HIDDeviceManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool Enumerate (HIDEnumerateVisitor *enumVisitor)
 HIDDeviceManager (OSX::DeviceManager *Manager)
virtual bool Initialize ()
virtual OVR::HIDDeviceOpen (const String &path)
virtual void Shutdown ()
virtual ~HIDDeviceManager ()

Static Public Member Functions

static HIDDeviceManagerCreateInternal (DeviceManager *manager)

Private Member Functions

bool getFullDesc (IOHIDDeviceRef device, HIDDeviceDesc *desc)
bool getIntProperty (IOHIDDeviceRef device, CFStringRef key, int32_t *pResult)
bool getLocationId (IOHIDDeviceRef device, SInt32 *pResult)
bool getPath (IOHIDDeviceRef device, String *pPath)
bool getProductId (IOHIDDeviceRef device, UInt16 *pResult)
CFRunLoopRef getRunLoop ()
bool getSerialNumberString (IOHIDDeviceRef device, String *pResult)
bool getStringProperty (IOHIDDeviceRef device, CFStringRef propertyName, String *pResult)
bool getVendorId (IOHIDDeviceRef device, UInt16 *pResult)
bool initializeManager ()
bool initSerialNumber (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc)
bool initStrings (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc)
bool initUsage (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc)
bool initVendorProductVersion (IOHIDDeviceRef device, HIDDeviceDesc *pDevDesc)

Static Private Member Functions

static void staticDeviceMatchingCallback (void *inContext, IOReturn inResult, void *inSender, IOHIDDeviceRef inIOHIDDeviceRef)

Private Attributes

DeviceManagerDevManager
IOHIDManagerRef HIDManager

Friends

class HIDDevice

Detailed Description

Definition at line 105 of file OVR_OSX_HIDDevice.h.


Constructor & Destructor Documentation

Definition at line 26 of file OVR_OSX_HIDDevice.cpp.

Definition at line 32 of file OVR_OSX_HIDDevice.cpp.


Member Function Documentation

Definition at line 836 of file OVR_OSX_HIDDevice.cpp.

Implements OVR::HIDDeviceManager.

Definition at line 316 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getFullDesc ( IOHIDDeviceRef  device,
HIDDeviceDesc desc 
) [private]

Definition at line 393 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getIntProperty ( IOHIDDeviceRef  device,
CFStringRef  key,
int32_t *  pResult 
) [private]

Definition at line 99 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getLocationId ( IOHIDDeviceRef  device,
SInt32 pResult 
) [private]

Definition at line 251 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getPath ( IOHIDDeviceRef  device,
String pPath 
) [private]

Definition at line 276 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getProductId ( IOHIDDeviceRef  device,
UInt16 pResult 
) [private]

Definition at line 237 of file OVR_OSX_HIDDevice.cpp.

CFRunLoopRef OVR::OSX::HIDDeviceManager::getRunLoop ( ) [private]

Definition at line 36 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getSerialNumberString ( IOHIDDeviceRef  device,
String pResult 
) [private]

Definition at line 265 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getStringProperty ( IOHIDDeviceRef  device,
CFStringRef  propertyName,
String pResult 
) [private]

Definition at line 173 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::getVendorId ( IOHIDDeviceRef  device,
UInt16 pResult 
) [private]

Definition at line 223 of file OVR_OSX_HIDDevice.cpp.

Definition at line 86 of file OVR_OSX_HIDDevice.cpp.

Definition at line 46 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::initSerialNumber ( IOHIDDeviceRef  device,
HIDDeviceDesc pDevDesc 
) [private]

Definition at line 158 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::initStrings ( IOHIDDeviceRef  device,
HIDDeviceDesc pDevDesc 
) [private]

Definition at line 163 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::initUsage ( IOHIDDeviceRef  device,
HIDDeviceDesc pDevDesc 
) [private]

Definition at line 135 of file OVR_OSX_HIDDevice.cpp.

bool OVR::OSX::HIDDeviceManager::initVendorProductVersion ( IOHIDDeviceRef  device,
HIDDeviceDesc pDevDesc 
) [private]

Definition at line 119 of file OVR_OSX_HIDDevice.cpp.

Implements OVR::HIDDeviceManager.

Definition at line 378 of file OVR_OSX_HIDDevice.cpp.

Definition at line 91 of file OVR_OSX_HIDDevice.cpp.

void OVR::OSX::HIDDeviceManager::staticDeviceMatchingCallback ( void *  inContext,
IOReturn  inResult,
void *  inSender,
IOHIDDeviceRef  inIOHIDDeviceRef 
) [static, private]

Definition at line 417 of file OVR_OSX_HIDDevice.cpp.


Friends And Related Function Documentation

friend class HIDDevice [friend]

Definition at line 107 of file OVR_OSX_HIDDevice.h.


Member Data Documentation

Definition at line 142 of file OVR_OSX_HIDDevice.h.

IOHIDManagerRef OVR::OSX::HIDDeviceManager::HIDManager [private]

Definition at line 144 of file OVR_OSX_HIDDevice.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:49