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

#include "CAPI_GlobalState.h"

Inheritance diagram for OVR::CAPI::GlobalState:
Inheritance graph
Collaboration diagram for OVR::CAPI::GlobalState:
Collaboration graph

Public Member Functions

 GlobalState ()
 
 ~GlobalState ()
 
int EnumerateDevices ()
 
HMDDeviceCreateDevice (int index)
 
void OnMessage (const Message &msg)
 
void AddHMD (HMDState *hmd)
 
void RemoveHMD (HMDState *hmd)
 
void NotifyHMDs_AddDevice (DeviceType deviceType)
 
const char * GetLastError ()
 
DeviceManagerGetManager ()
 
- Public Member Functions inherited from OVR::MessageHandler
 MessageHandler ()
 
virtual ~MessageHandler ()
 
bool IsHandlerInstalled () const
 
void RemoveHandlerFromDevices ()
 
LockGetHandlerLock () const
 
virtual bool SupportsMessageType (MessageType) const
 

Static Public Attributes

static GlobalStatepInstance = 0
 

Protected Attributes

Ptr< DeviceManagerpManager
 
Lock EnumerationLock
 
Array< DeviceHandleEnumeratedDevices
 
List< HMDStateHMDs
 

Detailed Description

Definition at line 44 of file CAPI_GlobalState.h.

Constructor & Destructor Documentation

OVR::CAPI::GlobalState::GlobalState ( )

Definition at line 53 of file CAPI_GlobalState.cpp.

OVR::CAPI::GlobalState::~GlobalState ( )

Definition at line 63 of file CAPI_GlobalState.cpp.

Member Function Documentation

void OVR::CAPI::GlobalState::AddHMD ( HMDState hmd)

Definition at line 98 of file CAPI_GlobalState.cpp.

HMDDevice * OVR::CAPI::GlobalState::CreateDevice ( int  index)

Definition at line 88 of file CAPI_GlobalState.cpp.

int OVR::CAPI::GlobalState::EnumerateDevices ( )

Definition at line 69 of file CAPI_GlobalState.cpp.

const char* OVR::CAPI::GlobalState::GetLastError ( )
inline

Definition at line 63 of file CAPI_GlobalState.h.

DeviceManager* OVR::CAPI::GlobalState::GetManager ( )
inline

Definition at line 68 of file CAPI_GlobalState.h.

void OVR::CAPI::GlobalState::NotifyHMDs_AddDevice ( DeviceType  deviceType)

Definition at line 109 of file CAPI_GlobalState.cpp.

void OVR::CAPI::GlobalState::OnMessage ( const Message msg)
virtual

Reimplemented from OVR::MessageHandler.

Definition at line 116 of file CAPI_GlobalState.cpp.

void OVR::CAPI::GlobalState::RemoveHMD ( HMDState hmd)

Definition at line 103 of file CAPI_GlobalState.cpp.

Field Documentation

Array<DeviceHandle> OVR::CAPI::GlobalState::EnumeratedDevices
protected

Definition at line 74 of file CAPI_GlobalState.h.

Lock OVR::CAPI::GlobalState::EnumerationLock
protected

Definition at line 73 of file CAPI_GlobalState.h.

List<HMDState> OVR::CAPI::GlobalState::HMDs
protected

Definition at line 77 of file CAPI_GlobalState.h.

GlobalState * OVR::CAPI::GlobalState::pInstance = 0
static

Definition at line 50 of file CAPI_GlobalState.h.

Ptr<DeviceManager> OVR::CAPI::GlobalState::pManager
protected

Definition at line 72 of file CAPI_GlobalState.h.


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