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

#include "OVR_ThreadCommandQueue.h"

Inheritance diagram for OVR::ThreadCommandQueue:
Inheritance graph
Collaboration diagram for OVR::ThreadCommandQueue:
Collaboration graph

Public Member Functions

 ThreadCommandQueue ()
 
virtual ~ThreadCommandQueue ()
 
bool PopCommand (ThreadCommand::PopBuffer *popBuffer)
 
bool PushCommand (const ThreadCommand &command)
 
void PushExitCommand (bool wait)
 
bool IsExiting () const
 
virtual void OnPushNonEmpty_Locked ()
 
virtual void OnPopEmpty_Locked ()
 
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)
 

Private Attributes

class ThreadCommandQueueImplpImpl
 

Detailed Description

Definition at line 225 of file OVR_ThreadCommandQueue.h.

Constructor & Destructor Documentation

OVR::ThreadCommandQueue::ThreadCommandQueue ( )

Definition at line 338 of file OVR_ThreadCommandQueue.cpp.

OVR::ThreadCommandQueue::~ThreadCommandQueue ( )
virtual

Definition at line 342 of file OVR_ThreadCommandQueue.cpp.

Member Function Documentation

bool OVR::ThreadCommandQueue::IsExiting ( ) const

Definition at line 374 of file OVR_ThreadCommandQueue.cpp.

virtual void OVR::ThreadCommandQueue::OnPopEmpty_Locked ( )
inlinevirtual

Reimplemented in OVR::Linux::DeviceManagerThread.

Definition at line 252 of file OVR_ThreadCommandQueue.h.

virtual void OVR::ThreadCommandQueue::OnPushNonEmpty_Locked ( )
inlinevirtual

Reimplemented in OVR::Linux::DeviceManagerThread.

Definition at line 251 of file OVR_ThreadCommandQueue.h.

bool OVR::ThreadCommandQueue::PopCommand ( ThreadCommand::PopBuffer popBuffer)

Definition at line 352 of file OVR_ThreadCommandQueue.cpp.

template<class C , class R >
bool OVR::ThreadCommandQueue::PushCall ( R(C::*)()  fn,
bool  wait = false 
)
inline

Definition at line 261 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 >
bool OVR::ThreadCommandQueue::PushCall ( R(C::*)(A0)  fn,
typename SelfType< A0 >::Type  a0,
bool  wait = false 
)
inline

Definition at line 264 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 , class A1 >
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 267 of file OVR_ThreadCommandQueue.h.

template<class C , class R >
bool OVR::ThreadCommandQueue::PushCall ( C *  p,
R(C::*)()  fn,
bool  wait = false 
)
inline

Definition at line 274 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 >
bool OVR::ThreadCommandQueue::PushCall ( C *  p,
R(C::*)(A0)  fn,
typename SelfType< A0 >::Type  a0,
bool  wait = false 
)
inline

Definition at line 277 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 , class A1 >
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 280 of file OVR_ThreadCommandQueue.h.

template<class C , class R >
bool OVR::ThreadCommandQueue::PushCallAndWaitResult ( R(C::*)()  fn,
R *  ret 
)
inline

Definition at line 290 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 >
bool OVR::ThreadCommandQueue::PushCallAndWaitResult ( R(C::*)(A0)  fn,
R *  ret,
typename SelfType< A0 >::Type  a0 
)
inline

Definition at line 293 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 , class A1 >
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 296 of file OVR_ThreadCommandQueue.h.

template<class C , class R >
bool OVR::ThreadCommandQueue::PushCallAndWaitResult ( C *  p,
R(C::*)()  fn,
R *  ret 
)
inline

Definition at line 302 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 >
bool OVR::ThreadCommandQueue::PushCallAndWaitResult ( C *  p,
R(C::*)(A0)  fn,
R *  ret,
typename SelfType< A0 >::Type  a0 
)
inline

Definition at line 305 of file OVR_ThreadCommandQueue.h.

template<class C , class R , class A0 , class A1 >
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 308 of file OVR_ThreadCommandQueue.h.

bool OVR::ThreadCommandQueue::PushCommand ( const ThreadCommand command)

Definition at line 347 of file OVR_ThreadCommandQueue.cpp.

void OVR::ThreadCommandQueue::PushExitCommand ( bool  wait)

Definition at line 357 of file OVR_ThreadCommandQueue.cpp.

Field Documentation

class ThreadCommandQueueImpl* OVR::ThreadCommandQueue::pImpl
private

Definition at line 313 of file OVR_ThreadCommandQueue.h.


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