27 #ifndef OVR_Linux_DeviceManager_h
28 #define OVR_Linux_DeviceManager_h
36 namespace OVR {
namespace Linux {
38 class DeviceManagerThread;
84 virtual void OnEvent(
int i,
int fd) = 0;
89 virtual double OnTicks(
double tickSeconds)
122 #endif // OVR_Linux_DeviceManager_h
bool RemoveSelectFd(Notifier *notify, int fd)
virtual ThreadCommandQueue * GetThreadQueue()
virtual void OnPushNonEmpty_Locked()
Array< struct pollfd > PollFds
Ptr< DeviceManagerThread > pThread
virtual bool GetDeviceInfo(DeviceInfo *info) const
Array< Notifier * > TicksNotifiers
bool RemoveTicksNotifier(Notifier *notify)
bool AddSelectFd(Notifier *notify, int fd)
Array< Notifier * > FdNotifiers
virtual bool Initialize(DeviceBase *parent)
virtual void OnPopEmpty_Locked()
bool AddTicksNotifier(Notifier *notify)
virtual ThreadId GetThreadId() const
virtual DeviceEnumerator EnumerateDevicesEx(const DeviceEnumerationArgs &args)
virtual double OnTicks(double tickSeconds)
virtual void OnEvent(int i, int fd)=0