#include <OVR_Linux_DeviceManager.h>
Classes | |
class | Notifier |
Public Member Functions | |
bool | AddSelectFd (Notifier *notify, int fd) |
bool | AddTicksNotifier (Notifier *notify) |
DeviceManagerThread () | |
virtual void | OnPopEmpty_Locked () |
virtual void | OnPushNonEmpty_Locked () |
bool | RemoveSelectFd (Notifier *notify, int fd) |
bool | RemoveTicksNotifier (Notifier *notify) |
virtual int | Run () |
~DeviceManagerThread () | |
Private Types | |
enum | { ThreadStackSize = 64 * 1024 } |
Private Member Functions | |
bool | threadInitialized () |
Private Attributes | |
int | CommandFd [2] |
Array< Notifier * > | FdNotifiers |
Array< struct pollfd > | PollFds |
Event | StartupEvent |
Array< Notifier * > | TicksNotifiers |
Friends | |
class | DeviceManager |
Definition at line 55 of file OVR_Linux_DeviceManager.h.
anonymous enum [private] |
Definition at line 58 of file OVR_Linux_DeviceManager.h.
Definition at line 121 of file OVR_Linux_DeviceManager.cpp.
Definition at line 130 of file OVR_Linux_DeviceManager.cpp.
bool OVR::Linux::DeviceManagerThread::AddSelectFd | ( | Notifier * | notify, |
int | fd | ||
) |
Definition at line 140 of file OVR_Linux_DeviceManager.cpp.
bool OVR::Linux::DeviceManagerThread::AddTicksNotifier | ( | Notifier * | notify | ) |
Definition at line 258 of file OVR_Linux_DeviceManager.cpp.
virtual void OVR::Linux::DeviceManagerThread::OnPopEmpty_Locked | ( | ) | [inline, virtual] |
Reimplemented from OVR::ThreadCommandQueue.
Definition at line 67 of file OVR_Linux_DeviceManager.h.
virtual void OVR::Linux::DeviceManagerThread::OnPushNonEmpty_Locked | ( | ) | [inline, virtual] |
Reimplemented from OVR::ThreadCommandQueue.
Definition at line 66 of file OVR_Linux_DeviceManager.h.
bool OVR::Linux::DeviceManagerThread::RemoveSelectFd | ( | Notifier * | notify, |
int | fd | ||
) |
Definition at line 154 of file OVR_Linux_DeviceManager.cpp.
bool OVR::Linux::DeviceManagerThread::RemoveTicksNotifier | ( | Notifier * | notify | ) |
Definition at line 264 of file OVR_Linux_DeviceManager.cpp.
int OVR::Linux::DeviceManagerThread::Run | ( | ) | [virtual] |
Reimplemented from OVR::Thread.
Definition at line 172 of file OVR_Linux_DeviceManager.cpp.
bool OVR::Linux::DeviceManagerThread::threadInitialized | ( | ) | [inline, private] |
Definition at line 95 of file OVR_Linux_DeviceManager.h.
friend class DeviceManager [friend] |
Definition at line 57 of file OVR_Linux_DeviceManager.h.
int OVR::Linux::DeviceManagerThread::CommandFd[2] [private] |
Definition at line 98 of file OVR_Linux_DeviceManager.h.
Definition at line 101 of file OVR_Linux_DeviceManager.h.
Array<struct pollfd> OVR::Linux::DeviceManagerThread::PollFds [private] |
Definition at line 100 of file OVR_Linux_DeviceManager.h.
Definition at line 103 of file OVR_Linux_DeviceManager.h.
Definition at line 106 of file OVR_Linux_DeviceManager.h.