Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::HIDDeviceImpl< B > Class Template Reference

#include "OVR_HIDDeviceImpl.h"

Inheritance diagram for OVR::HIDDeviceImpl< B >:
Inheritance graph
Collaboration diagram for OVR::HIDDeviceImpl< B >:
Collaboration graph

Public Member Functions

 HIDDeviceImpl (HIDDeviceCreateDesc *createDesc, DeviceBase *parent)
 
virtual void OnDeviceMessage (HIDDeviceMessageType messageType)
 
virtual bool Initialize (DeviceBase *parent)
 
virtual void Shutdown ()
 
DeviceManagerGetDeviceManager ()
 
HIDDeviceManagerGetHIDDeviceManager ()
 
bool SetFeatureReport (UByte *data, UInt32 length)
 
bool setFeatureReport (UByte *data, UInt32 length)
 
bool GetFeatureReport (UByte *data, UInt32 length)
 
bool getFeatureReport (UByte *data, UInt32 length)
 
UByte GetDeviceInterfaceVersion ()
 
- Public Member Functions inherited from OVR::DeviceImpl< B >
 DeviceImpl (DeviceCreateDesc *createDesc, DeviceBase *parent)
 
DeviceManagerImplGetManagerImpl () const
 
DeviceImplgetThis ()
 
virtual DeviceCommongetDeviceCommon () const
 
- Public Member Functions inherited from OVR::DeviceCommon
 DeviceCommon (DeviceCreateDesc *createDesc, DeviceBase *device, DeviceBase *parent)
 
virtual ~DeviceCommon ()
 
void DeviceAddRef ()
 
void DeviceRelease ()
 
LockGetLock () const
 
- Public Member Functions inherited from OVR::HIDDevice::HIDHandler
virtual void OnInputReport (UByte *pData, UInt32 length)
 
virtual double OnTicks (double tickSeconds)
 

Protected Member Functions

HIDDeviceGetInternalDevice () const
 
HIDDeviceDescgetHIDDesc () const
 
HIDDeviceCreateDescgetCreateDesc () const
 

Private Attributes

Ptr< HIDDeviceInternalDevice
 

Additional Inherited Members

- Public Types inherited from OVR::HIDDevice::HIDHandler
enum  HIDDeviceMessageType { HIDDeviceMessage_DeviceAdded = 0, HIDDeviceMessage_DeviceRemoved = 1 }
 
- Data Fields inherited from OVR::DeviceCommon
AtomicInt< UInt32RefCount
 
Ptr< DeviceCreateDescpCreateDesc
 
Ptr< DeviceBasepParent
 
volatile bool ConnectedFlag
 
MessageHandlerRef HandlerRef
 

Detailed Description

template<class B>
class OVR::HIDDeviceImpl< B >

Definition at line 55 of file OVR_HIDDeviceImpl.h.

Constructor & Destructor Documentation

template<class B>
OVR::HIDDeviceImpl< B >::HIDDeviceImpl ( HIDDeviceCreateDesc createDesc,
DeviceBase parent 
)
inline

Definition at line 58 of file OVR_HIDDeviceImpl.h.

Member Function Documentation

template<class B>
HIDDeviceCreateDesc* OVR::HIDDeviceImpl< B >::getCreateDesc ( ) const
inlineprotected

Definition at line 192 of file OVR_HIDDeviceImpl.h.

template<class B>
UByte OVR::HIDDeviceImpl< B >::GetDeviceInterfaceVersion ( )
inline

Definition at line 172 of file OVR_HIDDeviceImpl.h.

template<class B>
DeviceManager* OVR::HIDDeviceImpl< B >::GetDeviceManager ( )
inline

Definition at line 129 of file OVR_HIDDeviceImpl.h.

template<class B>
bool OVR::HIDDeviceImpl< B >::GetFeatureReport ( UByte data,
UInt32  length 
)
inline

Definition at line 156 of file OVR_HIDDeviceImpl.h.

template<class B>
bool OVR::HIDDeviceImpl< B >::getFeatureReport ( UByte data,
UInt32  length 
)
inline

Definition at line 167 of file OVR_HIDDeviceImpl.h.

template<class B>
HIDDeviceDesc* OVR::HIDDeviceImpl< B >::getHIDDesc ( ) const
inlineprotected

Definition at line 189 of file OVR_HIDDeviceImpl.h.

template<class B>
HIDDeviceManager* OVR::HIDDeviceImpl< B >::GetHIDDeviceManager ( )
inline

Definition at line 134 of file OVR_HIDDeviceImpl.h.

template<class B>
HIDDevice* OVR::HIDDeviceImpl< B >::GetInternalDevice ( ) const
inlineprotected

Definition at line 184 of file OVR_HIDDeviceImpl.h.

template<class B>
virtual bool OVR::HIDDeviceImpl< B >::Initialize ( DeviceBase parent)
inlinevirtual

Implements OVR::DeviceCommon.

Reimplemented in OVR::SensorDeviceImpl, and OVR::LatencyTestDeviceImpl.

Definition at line 100 of file OVR_HIDDeviceImpl.h.

template<class B>
virtual void OVR::HIDDeviceImpl< B >::OnDeviceMessage ( HIDDeviceMessageType  messageType)
inlinevirtual

Reimplemented from OVR::HIDDevice::HIDHandler.

Definition at line 64 of file OVR_HIDDeviceImpl.h.

template<class B>
bool OVR::HIDDeviceImpl< B >::SetFeatureReport ( UByte data,
UInt32  length 
)
inline

Definition at line 139 of file OVR_HIDDeviceImpl.h.

template<class B>
bool OVR::HIDDeviceImpl< B >::setFeatureReport ( UByte data,
UInt32  length 
)
inline

Definition at line 151 of file OVR_HIDDeviceImpl.h.

template<class B>
virtual void OVR::HIDDeviceImpl< B >::Shutdown ( )
inlinevirtual

Implements OVR::DeviceCommon.

Reimplemented in OVR::SensorDeviceImpl, and OVR::LatencyTestDeviceImpl.

Definition at line 122 of file OVR_HIDDeviceImpl.h.

Field Documentation

template<class B>
Ptr<HIDDevice> OVR::HIDDeviceImpl< B >::InternalDevice
private

Definition at line 196 of file OVR_HIDDeviceImpl.h.


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