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

#include <OVR_Linux_HIDDevice.h>

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

List of all members.

Public Member Functions

virtual bool Enumerate (HIDEnumerateVisitor *enumVisitor)
 HIDDeviceManager (Linux::DeviceManager *Manager)
virtual bool Initialize ()
void OnEvent (int i, int fd)
virtual OVR::HIDDeviceOpen (const String &path)
virtual void Shutdown ()
virtual ~HIDDeviceManager ()

Static Public Member Functions

static HIDDeviceManagerCreateInternal (DeviceManager *manager)

Private Member Functions

bool AddNotificationDevice (HIDDevice *device)
bool GetDescriptorFromPath (const char *dev_path, HIDDeviceDesc *desc)
bool getFullDesc (udev_device *device, HIDDeviceDesc *desc)
bool getIntProperty (udev_device *device, const char *key, int32_t *pResult)
bool getPath (udev_device *device, String *pPath)
bool getStringProperty (udev_device *device, const char *propertyName, OVR::String *pResult)
bool initializeManager ()
bool initVendorProductVersion (udev_device *device, HIDDeviceDesc *pDevDesc)
bool RemoveNotificationDevice (HIDDevice *device)

Private Attributes

DeviceManagerDevManager
int HIDMonHandle
udev_monitor * HIDMonitor
Array< HIDDevice * > NotificationDevices
udev * UdevInstance

Friends

class HIDDevice

Detailed Description

Definition at line 81 of file OVR_Linux_HIDDevice.h.


Constructor & Destructor Documentation

Definition at line 30 of file OVR_Linux_HIDDevice.cpp.

Definition at line 38 of file OVR_Linux_HIDDevice.cpp.


Member Function Documentation

Definition at line 124 of file OVR_Linux_HIDDevice.cpp.

Definition at line 736 of file OVR_Linux_HIDDevice.cpp.

Implements OVR::HIDDeviceManager.

Definition at line 198 of file OVR_Linux_HIDDevice.cpp.

bool OVR::Linux::HIDDeviceManager::GetDescriptorFromPath ( const char *  dev_path,
HIDDeviceDesc desc 
) [private]

Definition at line 304 of file OVR_Linux_HIDDevice.cpp.

bool OVR::Linux::HIDDeviceManager::getFullDesc ( udev_device *  device,
HIDDeviceDesc desc 
) [private]

Definition at line 284 of file OVR_Linux_HIDDevice.cpp.

bool OVR::Linux::HIDDeviceManager::getIntProperty ( udev_device *  device,
const char *  key,
int32_t *  pResult 
) [private]

Definition at line 145 of file OVR_Linux_HIDDevice.cpp.

bool OVR::Linux::HIDDeviceManager::getPath ( udev_device *  device,
String pPath 
) [private]
bool OVR::Linux::HIDDeviceManager::getStringProperty ( udev_device *  device,
const char *  propertyName,
OVR::String pResult 
) [private]

Definition at line 180 of file OVR_Linux_HIDDevice.cpp.

Definition at line 92 of file OVR_Linux_HIDDevice.cpp.

Definition at line 43 of file OVR_Linux_HIDDevice.cpp.

bool OVR::Linux::HIDDeviceManager::initVendorProductVersion ( udev_device *  device,
HIDDeviceDesc pDevDesc 
) [private]

Definition at line 163 of file OVR_Linux_HIDDevice.cpp.

void OVR::Linux::HIDDeviceManager::OnEvent ( int  i,
int  fd 
) [virtual]

Implements OVR::HIDDeviceManager.

Definition at line 270 of file OVR_Linux_HIDDevice.cpp.

Definition at line 131 of file OVR_Linux_HIDDevice.cpp.

Definition at line 104 of file OVR_Linux_HIDDevice.cpp.


Friends And Related Function Documentation

friend class HIDDevice [friend]

Definition at line 83 of file OVR_Linux_HIDDevice.h.


Member Data Documentation

Definition at line 113 of file OVR_Linux_HIDDevice.h.

Definition at line 117 of file OVR_Linux_HIDDevice.h.

Definition at line 116 of file OVR_Linux_HIDDevice.h.

Definition at line 119 of file OVR_Linux_HIDDevice.h.

Definition at line 115 of file OVR_Linux_HIDDevice.h.


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


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12