|
Bike-X
0.8
|
#include "CAPI_GlobalState.h"


Public Member Functions | |
| GlobalState () | |
| ~GlobalState () | |
| int | EnumerateDevices () |
| HMDDevice * | CreateDevice (int index) |
| void | OnMessage (const Message &msg) |
| void | AddHMD (HMDState *hmd) |
| void | RemoveHMD (HMDState *hmd) |
| void | NotifyHMDs_AddDevice (DeviceType deviceType) |
| const char * | GetLastError () |
| DeviceManager * | GetManager () |
Public Member Functions inherited from OVR::MessageHandler | |
| MessageHandler () | |
| virtual | ~MessageHandler () |
| bool | IsHandlerInstalled () const |
| void | RemoveHandlerFromDevices () |
| Lock * | GetHandlerLock () const |
| virtual bool | SupportsMessageType (MessageType) const |
Static Public Attributes | |
| static GlobalState * | pInstance = 0 |
Protected Attributes | |
| Ptr< DeviceManager > | pManager |
| Lock | EnumerationLock |
| Array< DeviceHandle > | EnumeratedDevices |
| List< HMDState > | HMDs |
Definition at line 44 of file CAPI_GlobalState.h.
| 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.
| 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.
|
inline |
Definition at line 63 of file CAPI_GlobalState.h.
|
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.
|
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.
|
protected |
Definition at line 74 of file CAPI_GlobalState.h.
|
protected |
Definition at line 73 of file CAPI_GlobalState.h.
Definition at line 77 of file CAPI_GlobalState.h.
|
static |
Definition at line 50 of file CAPI_GlobalState.h.
|
protected |
Definition at line 72 of file CAPI_GlobalState.h.