Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GraphicsEngine::RenderThread Class Reference

Inheritance diagram for GraphicsEngine::RenderThread:

Thread GraphicsEngine::WindowRenderer TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 RenderThread (const string &name, GraphicsEngine *engine)
virtual void thread_main ()

Public Attributes

GraphicsEngine_engine
Mutex _cv_mutex
ConditionVar _cv
ThreadState _thread_state

Constructor & Destructor Documentation

GraphicsEngine::RenderThread::RenderThread const string &  name,
GraphicsEngine engine
 

Definition at line 1146 of file graphicsEngine.cxx.

References _thread_state.


Member Function Documentation

void GraphicsEngine::RenderThread::thread_main  )  [virtual]
 

Implements Thread.

Definition at line 1162 of file graphicsEngine.cxx.

References _cv, _cv_mutex, _engine, _thread_state, GraphicsEngine::WindowRenderer::do_close(), GraphicsEngine::WindowRenderer::do_flip(), GraphicsEngine::WindowRenderer::do_frame(), GraphicsEngine::WindowRenderer::do_pending(), GraphicsEngine::WindowRenderer::do_release(), and ConditionVar::wait().


Member Data Documentation

ConditionVar GraphicsEngine::RenderThread::_cv
 

Definition at line 157 of file graphicsEngine.h.

Referenced by GraphicsEngine::do_flip_frame(), GraphicsEngine::render_frame(), GraphicsEngine::terminate_threads(), and thread_main().

Mutex GraphicsEngine::RenderThread::_cv_mutex
 

Definition at line 156 of file graphicsEngine.h.

Referenced by GraphicsEngine::do_flip_frame(), GraphicsEngine::do_sync_frame(), GraphicsEngine::render_frame(), GraphicsEngine::terminate_threads(), and thread_main().

GraphicsEngine* GraphicsEngine::RenderThread::_engine
 

Definition at line 155 of file graphicsEngine.h.

Referenced by thread_main().

ThreadState GraphicsEngine::RenderThread::_thread_state
 

Definition at line 158 of file graphicsEngine.h.

Referenced by GraphicsEngine::do_flip_frame(), GraphicsEngine::render_frame(), RenderThread(), GraphicsEngine::terminate_threads(), and thread_main().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:12:28 2003 for Panda by doxygen1.3