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

#include "OVR_DeviceImpl.h"

Inheritance diagram for OVR::DeviceCreateDesc:
Inheritance graph
Collaboration diagram for OVR::DeviceCreateDesc:
Collaboration graph

Public Types

enum  MatchResult { Match_None, Match_Found, Match_Candidate }
 

Public Member Functions

 DeviceCreateDesc (DeviceFactory *factory, DeviceType type)
 
virtual ~DeviceCreateDesc ()
 
DeviceManagerImplGetManagerImpl () const
 
LockGetLock () const
 
void AddRef ()
 
void Release ()
 
virtual DeviceCreateDescClone () const =0
 
virtual DeviceBaseNewDeviceInstance ()=0
 
virtual bool GetDeviceInfo (DeviceInfo *info) const =0
 
virtual MatchResult MatchDevice (const DeviceCreateDesc &other, DeviceCreateDesc **pcandidate) const =0
 
virtual bool UpdateMatchedCandidate (const DeviceCreateDesc &desc, bool *newDeviceFlag=NULL)
 
virtual bool MatchHIDDevice (const HIDDeviceDesc &) const
 
virtual bool MatchDevice (const String &)
 
- Public Member Functions inherited from OVR::ListNode< DeviceCreateDesc >
void RemoveNode ()
 
void ReplaceNodeWith (DeviceCreateDesc *pnew)
 
void InsertNodeAfter (DeviceCreateDesc *p)
 
void InsertNodeBefore (DeviceCreateDesc *p)
 
void Alloc_MoveTo (ListNode< DeviceCreateDesc > *pdest)
 

Data Fields

DeviceFactory *const pFactory
 
const DeviceType Type
 
Ptr< DeviceManagerLockpLock
 
AtomicInt< UInt32HandleCount
 
DeviceBasepDevice
 
bool Enumerated
 
- Data Fields inherited from OVR::ListNode< DeviceCreateDesc >
union {
T * pPrev
 
void * pVoidPrev
 
}; 
 
union {
T * pNext
 
void * pVoidNext
 
}; 
 

Private Member Functions

void operator= (const DeviceCreateDesc &)
 

Detailed Description

Definition at line 112 of file OVR_DeviceImpl.h.

Member Enumeration Documentation

Enumerator
Match_None 
Match_Found 
Match_Candidate 

Definition at line 150 of file OVR_DeviceImpl.h.

Constructor & Destructor Documentation

OVR::DeviceCreateDesc::DeviceCreateDesc ( DeviceFactory factory,
DeviceType  type 
)
inline

Definition at line 116 of file OVR_DeviceImpl.h.

virtual OVR::DeviceCreateDesc::~DeviceCreateDesc ( )
inlinevirtual

Definition at line 122 of file OVR_DeviceImpl.h.

Member Function Documentation

void OVR::DeviceCreateDesc::AddRef ( )

Definition at line 687 of file OVR_DeviceImpl.cpp.

virtual bool OVR::DeviceCreateDesc::GetDeviceInfo ( DeviceInfo info) const
pure virtual
Lock* OVR::DeviceCreateDesc::GetLock ( ) const
inline

Definition at line 130 of file OVR_DeviceImpl.h.

DeviceManagerImpl* OVR::DeviceCreateDesc::GetManagerImpl ( ) const
inline

Definition at line 129 of file OVR_DeviceImpl.h.

virtual MatchResult OVR::DeviceCreateDesc::MatchDevice ( const DeviceCreateDesc other,
DeviceCreateDesc **  pcandidate 
) const
pure virtual
virtual bool OVR::DeviceCreateDesc::MatchDevice ( const String )
inlinevirtual

Reimplemented in OVR::Linux::HMDDeviceCreateDesc, and OVR::HIDDeviceCreateDesc.

Definition at line 176 of file OVR_DeviceImpl.h.

virtual bool OVR::DeviceCreateDesc::MatchHIDDevice ( const HIDDeviceDesc ) const
inlinevirtual
void OVR::DeviceCreateDesc::operator= ( const DeviceCreateDesc )
inlineprivate

Definition at line 114 of file OVR_DeviceImpl.h.

void OVR::DeviceCreateDesc::Release ( )

Definition at line 694 of file OVR_DeviceImpl.cpp.

virtual bool OVR::DeviceCreateDesc::UpdateMatchedCandidate ( const DeviceCreateDesc desc,
bool *  newDeviceFlag = NULL 
)
inlinevirtual

Reimplemented in OVR::Linux::HMDDeviceCreateDesc.

Definition at line 168 of file OVR_DeviceImpl.h.

Field Documentation

bool OVR::DeviceCreateDesc::Enumerated

Definition at line 193 of file OVR_DeviceImpl.h.

AtomicInt<UInt32> OVR::DeviceCreateDesc::HandleCount

Definition at line 189 of file OVR_DeviceImpl.h.

DeviceBase* OVR::DeviceCreateDesc::pDevice

Definition at line 191 of file OVR_DeviceImpl.h.

DeviceFactory* const OVR::DeviceCreateDesc::pFactory

Definition at line 178 of file OVR_DeviceImpl.h.

Ptr<DeviceManagerLock> OVR::DeviceCreateDesc::pLock

Definition at line 182 of file OVR_DeviceImpl.h.

const DeviceType OVR::DeviceCreateDesc::Type

Definition at line 179 of file OVR_DeviceImpl.h.


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