Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::DeviceBase Class Referenceabstract

#include "OVR_Device.h"

Inheritance diagram for OVR::DeviceBase:
Inheritance graph
Collaboration diagram for OVR::DeviceBase:
Collaboration graph

Public Types

enum  { EnumDeviceType = Device_All }
 

Public Member Functions

virtual ~DeviceBase ()
 
virtual void AddRef ()
 
virtual void Release ()
 
virtual DeviceBaseGetParent () const
 
virtual DeviceManagerGetManager () const
 
virtual void AddMessageHandler (MessageHandler *handler)
 
virtual DeviceType GetType () const
 
virtual bool GetDeviceInfo (DeviceInfo *info) const
 
virtual bool IsConnected ()
 
LockGetHandlerLock () const
 

Protected Member Functions

virtual DeviceCommongetDeviceCommon () const =0
 

Friends

class DeviceHandle
 
class DeviceManagerImpl
 

Detailed Description

Definition at line 100 of file OVR_Device.h.

Member Enumeration Documentation

anonymous enum
Enumerator
EnumDeviceType 

Definition at line 107 of file OVR_Device.h.

Constructor & Destructor Documentation

virtual OVR::DeviceBase::~DeviceBase ( )
inlinevirtual

Definition at line 109 of file OVR_Device.h.

Member Function Documentation

void OVR::DeviceBase::AddMessageHandler ( MessageHandler handler)
virtual

Reimplemented in OVR::SensorDeviceImpl.

Definition at line 241 of file OVR_DeviceImpl.cpp.

void OVR::DeviceBase::AddRef ( )
virtual

Definition at line 224 of file OVR_DeviceImpl.cpp.

bool OVR::DeviceBase::GetDeviceInfo ( DeviceInfo info) const
virtual

Reimplemented in OVR::Linux::DeviceManager.

Definition at line 251 of file OVR_DeviceImpl.cpp.

Lock * OVR::DeviceBase::GetHandlerLock ( ) const

Definition at line 265 of file OVR_DeviceImpl.cpp.

DeviceManager * OVR::DeviceBase::GetManager ( ) const
virtual

Reimplemented in OVR::DeviceManager.

Definition at line 236 of file OVR_DeviceImpl.cpp.

DeviceBase * OVR::DeviceBase::GetParent ( ) const
virtual

Definition at line 232 of file OVR_DeviceImpl.cpp.

DeviceType OVR::DeviceBase::GetType ( ) const
virtual
bool OVR::DeviceBase::IsConnected ( )
virtual

Definition at line 259 of file OVR_DeviceImpl.cpp.

void OVR::DeviceBase::Release ( )
virtual

Definition at line 228 of file OVR_DeviceImpl.cpp.

Friends And Related Function Documentation

friend class DeviceHandle
friend

Definition at line 102 of file OVR_Device.h.

friend class DeviceManagerImpl
friend

Definition at line 103 of file OVR_Device.h.


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