Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

LoadClient Class Reference

#include <loadbalance.h>

Inheritance diagram for LoadClient:

BlendUnit FadeUnit FrameWriterUnit MaskUnit ScaleTranslateUnit ScaleUnit TranslateUnit EXRUnit FileTIFFUnit JPEGUnit PNGUnit TGAUnit List of all members.

Public Member Functions

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

Public Attributes

int done
int package_number
Condition * input_lock
Condition * completion_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, and package_number.

LoadClient::LoadClient  ) 
 

Definition at line 36 of file loadbalance.C.

References completion_lock, done, input_lock, package_number, and server.

LoadClient::~LoadClient  )  [virtual]
 

Definition at line 47 of file loadbalance.C.

References completion_lock, done, and input_lock.


Member Function Documentation

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.

virtual void LoadClient::process_package LoadPackage package  )  [inline, virtual]
 

Reimplemented in FadeUnit, FrameWriterUnit, MaskUnit, ScaleUnit, TranslateUnit, ScaleTranslateUnit, and BlendUnit.

Definition at line 40 of file loadbalance.h.

Referenced by run().

void LoadClient::run  ) 
 

Definition at line 67 of file loadbalance.C.

References LoadServer::client_lock, completion_lock, LoadPackage::completion_lock, LoadServer::current_package, done, input_lock, package_number, process_package(), server, and LoadServer::total_packages.


Member Data Documentation

Condition* LoadClient::completion_lock
 

Definition at line 47 of file loadbalance.h.

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

int LoadClient::done
 

Definition at line 44 of file loadbalance.h.

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

Condition* LoadClient::input_lock
 

Definition at line 46 of file loadbalance.h.

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

int LoadClient::package_number
 

Definition at line 45 of file loadbalance.h.

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

LoadServer* LoadClient::server
 

Reimplemented in FrameWriterUnit.

Definition at line 48 of file loadbalance.h.

Referenced by LoadServer::create_clients(), get_server(), LoadClient(), and run().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:16 2006 for Cinelerra-svn by  doxygen 1.4.4