#include <OVR_ThreadCommandQueue.h>
Public Member Functions | |
bool | IsExiting () const |
virtual void | OnPopEmpty_Locked () |
virtual void | OnPushNonEmpty_Locked () |
bool | PopCommand (ThreadCommand::PopBuffer *popBuffer) |
template<class C , class R > | |
bool | PushCall (R(C::*fn)(), bool wait=false) |
template<class C , class R , class A0 > | |
bool | PushCall (R(C::*fn)(A0), typename SelfType< A0 >::Type a0, bool wait=false) |
template<class C , class R , class A0 , class A1 > | |
bool | PushCall (R(C::*fn)(A0, A1), typename SelfType< A0 >::Type a0, typename SelfType< A1 >::Type a1, bool wait=false) |
template<class C , class R > | |
bool | PushCall (C *p, R(C::*fn)(), bool wait=false) |
template<class C , class R , class A0 > | |
bool | PushCall (C *p, R(C::*fn)(A0), typename SelfType< A0 >::Type a0, bool wait=false) |
template<class C , class R , class A0 , class A1 > | |
bool | PushCall (C *p, R(C::*fn)(A0, A1), typename SelfType< A0 >::Type a0, typename SelfType< A1 >::Type a1, bool wait=false) |
template<class C , class R > | |
bool | PushCallAndWaitResult (R(C::*fn)(), R *ret) |
template<class C , class R , class A0 > | |
bool | PushCallAndWaitResult (R(C::*fn)(A0), R *ret, typename SelfType< A0 >::Type a0) |
template<class C , class R , class A0 , class A1 > | |
bool | PushCallAndWaitResult (R(C::*fn)(A0, A1), R *ret, typename SelfType< A0 >::Type a0, typename SelfType< A1 >::Type a1) |
template<class C , class R > | |
bool | PushCallAndWaitResult (C *p, R(C::*fn)(), R *ret) |
template<class C , class R , class A0 > | |
bool | PushCallAndWaitResult (C *p, R(C::*fn)(A0), R *ret, typename SelfType< A0 >::Type a0) |
template<class C , class R , class A0 , class A1 > | |
bool | PushCallAndWaitResult (C *p, R(C::*fn)(A0, A1), R *ret, typename SelfType< A0 >::Type a0, typename SelfType< A1 >::Type a1) |
bool | PushCommand (const ThreadCommand &command) |
void | PushExitCommand (bool wait) |
ThreadCommandQueue () | |
virtual | ~ThreadCommandQueue () |
Private Attributes | |
class ThreadCommandQueueImpl * | pImpl |
Definition at line 214 of file OVR_ThreadCommandQueue.h.
Definition at line 328 of file OVR_ThreadCommandQueue.cpp.
OVR::ThreadCommandQueue::~ThreadCommandQueue | ( | ) | [virtual] |
Definition at line 332 of file OVR_ThreadCommandQueue.cpp.
bool OVR::ThreadCommandQueue::IsExiting | ( | ) | const |
Definition at line 364 of file OVR_ThreadCommandQueue.cpp.
virtual void OVR::ThreadCommandQueue::OnPopEmpty_Locked | ( | ) | [inline, virtual] |
Reimplemented in OVR::OSX::DeviceManagerThread, OVR::Win32::DeviceManagerThread, and OVR::Linux::DeviceManagerThread.
Definition at line 241 of file OVR_ThreadCommandQueue.h.
virtual void OVR::ThreadCommandQueue::OnPushNonEmpty_Locked | ( | ) | [inline, virtual] |
Reimplemented in OVR::OSX::DeviceManagerThread, OVR::Win32::DeviceManagerThread, and OVR::Linux::DeviceManagerThread.
Definition at line 240 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PopCommand | ( | ThreadCommand::PopBuffer * | popBuffer | ) |
Definition at line 342 of file OVR_ThreadCommandQueue.cpp.
bool OVR::ThreadCommandQueue::PushCall | ( | R(C::*)() | fn, |
bool | wait = false |
||
) | [inline] |
Definition at line 250 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCall | ( | R(C::*)(A0) | fn, |
typename SelfType< A0 >::Type | a0, | ||
bool | wait = false |
||
) | [inline] |
Definition at line 253 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCall | ( | R(C::*)(A0, A1) | fn, |
typename SelfType< A0 >::Type | a0, | ||
typename SelfType< A1 >::Type | a1, | ||
bool | wait = false |
||
) | [inline] |
Definition at line 256 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCall | ( | C * | p, |
R(C::*)() | fn, | ||
bool | wait = false |
||
) | [inline] |
Definition at line 263 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCall | ( | C * | p, |
R(C::*)(A0) | fn, | ||
typename SelfType< A0 >::Type | a0, | ||
bool | wait = false |
||
) | [inline] |
Definition at line 266 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCall | ( | C * | p, |
R(C::*)(A0, A1) | fn, | ||
typename SelfType< A0 >::Type | a0, | ||
typename SelfType< A1 >::Type | a1, | ||
bool | wait = false |
||
) | [inline] |
Definition at line 269 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCallAndWaitResult | ( | R(C::*)() | fn, |
R * | ret | ||
) | [inline] |
Definition at line 279 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCallAndWaitResult | ( | R(C::*)(A0) | fn, |
R * | ret, | ||
typename SelfType< A0 >::Type | a0 | ||
) | [inline] |
Definition at line 282 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCallAndWaitResult | ( | R(C::*)(A0, A1) | fn, |
R * | ret, | ||
typename SelfType< A0 >::Type | a0, | ||
typename SelfType< A1 >::Type | a1 | ||
) | [inline] |
Definition at line 285 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCallAndWaitResult | ( | C * | p, |
R(C::*)() | fn, | ||
R * | ret | ||
) | [inline] |
Definition at line 291 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCallAndWaitResult | ( | C * | p, |
R(C::*)(A0) | fn, | ||
R * | ret, | ||
typename SelfType< A0 >::Type | a0 | ||
) | [inline] |
Definition at line 294 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCallAndWaitResult | ( | C * | p, |
R(C::*)(A0, A1) | fn, | ||
R * | ret, | ||
typename SelfType< A0 >::Type | a0, | ||
typename SelfType< A1 >::Type | a1 | ||
) | [inline] |
Definition at line 297 of file OVR_ThreadCommandQueue.h.
bool OVR::ThreadCommandQueue::PushCommand | ( | const ThreadCommand & | command | ) |
Definition at line 337 of file OVR_ThreadCommandQueue.cpp.
void OVR::ThreadCommandQueue::PushExitCommand | ( | bool | wait | ) |
Definition at line 347 of file OVR_ThreadCommandQueue.cpp.
class ThreadCommandQueueImpl* OVR::ThreadCommandQueue::pImpl [private] |
Definition at line 302 of file OVR_ThreadCommandQueue.h.