Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Linux::HMDDevice Class Reference

#include "OVR_Linux_HMDDevice.h"

Inheritance diagram for OVR::Linux::HMDDevice:
Inheritance graph
Collaboration diagram for OVR::Linux::HMDDevice:
Collaboration graph

Public Member Functions

 HMDDevice (HMDDeviceCreateDesc *createDesc)
 
 ~HMDDevice ()
 
virtual bool Initialize (DeviceBase *parent)
 
virtual void Shutdown ()
 
virtual ProfileGetProfile ()
 
virtual const char * GetProfileName ()
 
virtual bool SetProfileName (const char *name)
 
virtual OVR::SensorDeviceGetSensor ()
 
- Public Member Functions inherited from OVR::DeviceImpl< OVR::HMDDevice >
 DeviceImpl (DeviceCreateDesc *createDesc, DeviceBase *parent)
 
DeviceManagerImplGetManagerImpl () const
 
DeviceImplgetThis ()
 
virtual DeviceCommongetDeviceCommon () const
 
- Public Member Functions inherited from OVR::HMDDevice
 HMDDevice ()
 
virtual DeviceType GetType () const
 
HMDDeviceDisconnect (SensorDevice *)
 
bool IsDisconnected () const
 
- Public Member Functions inherited from OVR::DeviceBase
virtual ~DeviceBase ()
 
virtual void AddRef ()
 
virtual void Release ()
 
virtual DeviceBaseGetParent () const
 
virtual DeviceManagerGetManager () const
 
virtual void AddMessageHandler (MessageHandler *handler)
 
virtual bool GetDeviceInfo (DeviceInfo *info) const
 
virtual bool IsConnected ()
 
LockGetHandlerLock () const
 
- Public Member Functions inherited from OVR::DeviceCommon
 DeviceCommon (DeviceCreateDesc *createDesc, DeviceBase *device, DeviceBase *parent)
 
virtual ~DeviceCommon ()
 
void DeviceAddRef ()
 
void DeviceRelease ()
 
LockGetLock () const
 

Protected Member Functions

HMDDeviceCreateDescgetDesc () const
 

Protected Attributes

String ProfileName
 
Ptr< ProfilepCachedProfile
 

Additional Inherited Members

- Public Types inherited from OVR::HMDDevice
enum  { EnumDeviceType = Device_HMD }
 
- Public Types inherited from OVR::DeviceBase
enum  { EnumDeviceType = Device_All }
 
- Data Fields inherited from OVR::DeviceCommon
AtomicInt< UInt32RefCount
 
Ptr< DeviceCreateDescpCreateDesc
 
Ptr< DeviceBasepParent
 
volatile bool ConnectedFlag
 
MessageHandlerRef HandlerRef
 

Detailed Description

Definition at line 124 of file OVR_Linux_HMDDevice.h.

Constructor & Destructor Documentation

OVR::Linux::HMDDevice::HMDDevice ( HMDDeviceCreateDesc createDesc)

Definition at line 274 of file OVR_Common_HMDDevice.cpp.

OVR::Linux::HMDDevice::~HMDDevice ( )

Definition at line 278 of file OVR_Common_HMDDevice.cpp.

Member Function Documentation

HMDDeviceCreateDesc* OVR::Linux::HMDDevice::getDesc ( ) const
inlineprotected

Definition at line 143 of file OVR_Linux_HMDDevice.h.

Profile * OVR::Linux::HMDDevice::GetProfile ( )
virtual

Implements OVR::HMDDevice.

Definition at line 294 of file OVR_Common_HMDDevice.cpp.

const char * OVR::Linux::HMDDevice::GetProfileName ( )
virtual

Implements OVR::HMDDevice.

Definition at line 311 of file OVR_Common_HMDDevice.cpp.

OVR::SensorDevice * OVR::Linux::HMDDevice::GetSensor ( )
virtual

Implements OVR::HMDDevice.

Definition at line 350 of file OVR_Common_HMDDevice.cpp.

bool OVR::Linux::HMDDevice::Initialize ( DeviceBase parent)
virtual

Implements OVR::DeviceCommon.

Definition at line 282 of file OVR_Common_HMDDevice.cpp.

bool OVR::Linux::HMDDevice::SetProfileName ( const char *  name)
virtual

Implements OVR::HMDDevice.

Definition at line 324 of file OVR_Common_HMDDevice.cpp.

void OVR::Linux::HMDDevice::Shutdown ( )
virtual

Implements OVR::DeviceCommon.

Definition at line 287 of file OVR_Common_HMDDevice.cpp.

Field Documentation

Ptr<Profile> OVR::Linux::HMDDevice::pCachedProfile
mutableprotected

Definition at line 147 of file OVR_Linux_HMDDevice.h.

String OVR::Linux::HMDDevice::ProfileName
protected

Definition at line 146 of file OVR_Linux_HMDDevice.h.


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