LoadClient Class Reference

#include <loadbalance.h>

Inherits Thread.

Inherited by AffineUnit, AgingClient, BlendUnit, BlurZoomClient, BrightnessUnit, BurnClient, ChromaKeyUnit, ChromaKeyUnit, DiffKeyClient, DotClient, DownSampleUnit, FadeUnit, FrameWriterUnit, GammaUnit, GlyphUnit, GradientUnit, HistogramUnit, HistogramUnit, HoloClient, HueUnit, InterpolatePixelsUnit, IVTCUnit, LinearBlurUnit, MaskUnit, MotionBlurUnit, MotionScanUnit, OilUnit, PolarUnit, RadialBlurUnit, RotateScanUnit, ScaleTranslateUnit, ScaleUnit, ThresholdUnit, TimeFrontUnit, TitleTranslateUnit, TitleUnit, TranslateUnit, UnsharpUnit, VideoScopeUnit, WaveUnit, WhirlUnit, and ZoomBlurUnit.

Collaboration diagram for LoadClient:

Collaboration graph
[legend]

Public Member Functions

 LoadClient (LoadServer *server)
 LoadClient ()
virtual ~LoadClient ()
void run ()
void run_single ()
virtual void process_package (LoadPackage *package)
int get_package_number ()
LoadServerget_server ()

Data Fields

int done
int package_number
Conditioninput_lock
Conditioncompletion_lock
LoadServerserver

Detailed Description

Definition at line 32 of file loadbalance.h.


Constructor & Destructor Documentation

LoadClient::LoadClient ( LoadServer server  ) 

Definition at line 25 of file loadbalance.C.

References completion_lock, done, input_lock, package_number, and Thread::set_synchronous().

Here is the call graph for this function:

LoadClient::LoadClient (  ) 

Definition at line 36 of file loadbalance.C.

References completion_lock, done, input_lock, package_number, server, and Thread::set_synchronous().

Here is the call graph for this function:

LoadClient::~LoadClient (  )  [virtual]

Definition at line 47 of file loadbalance.C.

References completion_lock, done, input_lock, Thread::join(), and Condition::unlock().

Here is the call graph for this function:


Member Function Documentation

void LoadClient::run (  )  [virtual]

void LoadClient::run_single (  ) 

Definition at line 100 of file loadbalance.C.

References LoadServer::packages, process_package(), server, and LoadServer::total_packages.

Referenced by LoadServer::process_single().

Here is the call graph for this function:

void LoadClient::process_package ( LoadPackage package  )  [virtual]

int LoadClient::get_package_number (  ) 

Definition at line 56 of file loadbalance.C.

References package_number.

LoadServer * LoadClient::get_server (  ) 

Definition at line 61 of file loadbalance.C.

References server.

Referenced by GammaUnit::process_package().


Field Documentation

Definition at line 47 of file loadbalance.h.

Referenced by LoadClient(), MaskUnit::process_package(), run(), and ~LoadClient().

Definition at line 48 of file loadbalance.h.

Referenced by get_package_number(), LoadClient(), and run().

Definition at line 49 of file loadbalance.h.

Referenced by LoadClient(), LoadServer::process_packages(), run(), and ~LoadClient().

Definition at line 50 of file loadbalance.h.

Referenced by LoadClient(), LoadServer::process_packages(), run(), and ~LoadClient().


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

Generated on Mon Apr 28 14:29:39 2008 for Cinelerra by  doxygen 1.5.5