BRenderThread Class Reference

#include <brender.h>

Inherits Thread.

Collaboration diagram for BRenderThread:

Collaboration graph
[legend]

Public Member Functions

 BRenderThread (MWindow *mwindow, BRender *brender)
 ~BRenderThread ()
int is_done (int do_lock)
void send_command (BRenderCommand *command)
void run ()
void stop ()
void start ()
void initialize ()

Data Fields

MWindowmwindow
BRenderbrender
BRenderCommandcommand_queue
BRenderCommandcommand
Conditioninput_lock
Mutexthread_lock
RenderFarmServerfarm_server
PackageDispatcherpackages
Preferencespreferences
int farm_result
double fps_result
int64_t total_frames
Mutextotal_frames_lock
int done

Detailed Description

Definition at line 150 of file brender.h.


Constructor & Destructor Documentation

BRenderThread::BRenderThread ( MWindow mwindow,
BRender brender 
)

BRenderThread::~BRenderThread (  ) 

Definition at line 366 of file brender.C.

References command, command_queue, done, input_lock, Thread::join(), Mutex::lock(), preferences, thread_lock, total_frames_lock, Mutex::unlock(), and Condition::unlock().

Here is the call graph for this function:


Member Function Documentation

int BRenderThread::is_done ( int  do_lock  ) 

Definition at line 406 of file brender.C.

References done, Mutex::lock(), thread_lock, and Mutex::unlock().

Referenced by run().

Here is the call graph for this function:

void BRenderThread::send_command ( BRenderCommand command  ) 

Definition at line 387 of file brender.C.

References command_queue, input_lock, Mutex::lock(), thread_lock, TRACE, Mutex::unlock(), and Condition::unlock().

Referenced by BRender::restart(), and BRender::stop().

Here is the call graph for this function:

void BRenderThread::run (  )  [virtual]

void BRenderThread::stop (  ) 

Definition at line 495 of file brender.C.

References brender, BRender::completion_lock, farm_result, farm_server, packages, preferences, Condition::unlock(), and RenderFarmServer::wait_clients().

Referenced by run().

Here is the call graph for this function:

void BRenderThread::start (  ) 

void BRenderThread::initialize (  ) 

Definition at line 382 of file brender.C.

References Thread::start().

Referenced by BRender::initialize().

Here is the call graph for this function:


Field Documentation

Definition at line 163 of file brender.h.

Referenced by start().

Definition at line 164 of file brender.h.

Referenced by run(), start(), and stop().

Definition at line 165 of file brender.h.

Referenced by BRenderThread(), run(), send_command(), and ~BRenderThread().

Definition at line 166 of file brender.h.

Referenced by BRenderThread(), run(), start(), and ~BRenderThread().

Definition at line 167 of file brender.h.

Referenced by BRenderThread(), run(), send_command(), and ~BRenderThread().

Definition at line 168 of file brender.h.

Referenced by BRenderThread(), is_done(), run(), send_command(), and ~BRenderThread().

Definition at line 170 of file brender.h.

Referenced by BRenderThread(), start(), and stop().

Definition at line 171 of file brender.h.

Referenced by start(), and stop().

Definition at line 173 of file brender.h.

Referenced by BRenderThread(), start(), stop(), and ~BRenderThread().

Definition at line 175 of file brender.h.

Referenced by BRenderThread(), start(), and stop().

Definition at line 176 of file brender.h.

Referenced by start().

Definition at line 178 of file brender.h.

Referenced by start().

Definition at line 179 of file brender.h.

Referenced by BRenderThread(), start(), and ~BRenderThread().

Definition at line 180 of file brender.h.

Referenced by BRenderThread(), is_done(), and ~BRenderThread().


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

Generated on Mon Apr 28 14:17:04 2008 for Cinelerra by  doxygen 1.5.5