Bike-X
0.8
|
#include "OVR_Linux_HIDDevice.h"
Public Member Functions | |
HIDDevice (HIDDeviceManager *manager) | |
HIDDevice (HIDDeviceManager *manager, int device_handle) | |
virtual | ~HIDDevice () |
bool | HIDInitialize (const String &path) |
void | HIDShutdown () |
virtual bool | SetFeatureReport (UByte *data, UInt32 length) |
virtual bool | GetFeatureReport (UByte *data, UInt32 length) |
void | OnEvent (int i, int fd) |
double | OnTicks (double tickSeconds) |
bool | OnDeviceNotification (MessageType messageType, HIDDeviceDesc *device_info, bool *error) |
Public Member Functions inherited from OVR::HIDDevice | |
HIDDevice () | |
void | SetHandler (HIDHandler *handler) |
Public Member Functions inherited from OVR::RefCountBase< HIDDevice > | |
OVR_FORCE_INLINE | RefCountBase () |
Public Member Functions inherited from OVR::RefCountBaseStatImpl< RefCountImpl > | |
RefCountBaseStatImpl () | |
Public Member Functions inherited from OVR::RefCountImpl | |
void | AddRef () |
void | Release () |
Public Member Functions inherited from OVR::RefCountImplCore | |
OVR_FORCE_INLINE | RefCountImplCore () |
virtual | ~RefCountImplCore () |
int | GetRefCount () const |
void | operator= (const RefCountImplCore &) |
Public Member Functions inherited from OVR::HIDDeviceBase | |
virtual | ~HIDDeviceBase () |
Private Types | |
enum | { ReadBufferSize = 96 } |
Private Member Functions | |
bool | initInfo () |
bool | openDevice (const char *dev_path) |
void | closeDevice (bool wasUnplugged) |
void | closeDeviceOnIOError () |
bool | setupDevicePluggedInNotification () |
Friends | |
class | HIDDeviceManager |
Additional Inherited Members | |
Static Public Member Functions inherited from OVR::RefCountImplCore | |
static void | checkInvalidDelete (RefCountImplCore *) |
Protected Attributes inherited from OVR::HIDDevice | |
HIDHandler * | Handler |
Protected Attributes inherited from OVR::RefCountImplCore | |
volatile int | RefCount |
Definition at line 40 of file OVR_Linux_HIDDevice.h.
|
private |
Enumerator | |
---|---|
ReadBufferSize |
Definition at line 80 of file OVR_Linux_HIDDevice.h.
OVR::Linux::HIDDevice::HIDDevice | ( | HIDDeviceManager * | manager | ) |
Definition at line 436 of file OVR_Linux_HIDDevice.cpp.
OVR::Linux::HIDDevice::HIDDevice | ( | HIDDeviceManager * | manager, |
int | device_handle | ||
) |
Definition at line 445 of file OVR_Linux_HIDDevice.cpp.
|
virtual |
Reimplemented from OVR::HIDDevice.
Definition at line 451 of file OVR_Linux_HIDDevice.cpp.
|
private |
Definition at line 612 of file OVR_Linux_HIDDevice.cpp.
|
private |
Definition at line 627 of file OVR_Linux_HIDDevice.cpp.
Implements OVR::HIDDevice.
Definition at line 654 of file OVR_Linux_HIDDevice.cpp.
bool OVR::Linux::HIDDevice::HIDInitialize | ( | const String & | path | ) |
Definition at line 460 of file OVR_Linux_HIDDevice.cpp.
void OVR::Linux::HIDDevice::HIDShutdown | ( | ) |
Definition at line 597 of file OVR_Linux_HIDDevice.cpp.
|
private |
Definition at line 482 of file OVR_Linux_HIDDevice.cpp.
bool OVR::Linux::HIDDevice::OnDeviceNotification | ( | MessageType | messageType, |
HIDDeviceDesc * | device_info, | ||
bool * | error | ||
) |
Definition at line 695 of file OVR_Linux_HIDDevice.cpp.
|
virtual |
Implements OVR::Linux::DeviceManagerThread::Notifier.
Definition at line 675 of file OVR_Linux_HIDDevice.cpp.
|
virtual |
Reimplemented from OVR::Linux::DeviceManagerThread::Notifier.
Definition at line 664 of file OVR_Linux_HIDDevice.cpp.
|
private |
Definition at line 556 of file OVR_Linux_HIDDevice.cpp.
Implements OVR::HIDDevice.
Definition at line 634 of file OVR_Linux_HIDDevice.cpp.
|
private |
|
friend |
Definition at line 43 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 78 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 77 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 85 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 76 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 75 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 83 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 84 of file OVR_Linux_HIDDevice.h.
|
private |
Definition at line 81 of file OVR_Linux_HIDDevice.h.