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

PackageDispatcher Class Reference

#include <packagedispatcher.h>

List of all members.

Public Member Functions

 PackageDispatcher ()
 ~PackageDispatcher ()
int create_packages (MWindow *mwindow, EDL *edl, Preferences *preferences, int strategy, Asset *default_asset, double total_start, double total_end, int test_overwrite)
RenderPackageget_package (double frames_per_second, int client_number, int use_local_rate)
ArrayList< Asset * > * get_asset_list ()
RenderPackageget_package (int number)
int get_total_packages ()

Public Attributes

EDLedl
int64_t audio_position
int64_t video_position
int64_t audio_end
int64_t video_end
double total_start
double total_end
double total_len
int strategy
Assetdefault_asset
Preferencespreferences
int current_number
int number_start
int total_digits
double package_len
double min_package_len
int64_t total_packages
int64_t total_allocated
int nodes
MWindowmwindow
RenderPackage ** packages
int current_package
Mutex * package_lock


Detailed Description

Definition at line 18 of file packagedispatcher.h.


Constructor & Destructor Documentation

PackageDispatcher::PackageDispatcher  ) 
 

Definition at line 17 of file packagedispatcher.C.

References package_lock, and packages.

PackageDispatcher::~PackageDispatcher  ) 
 

Definition at line 23 of file packagedispatcher.C.

References package_lock, packages, and total_packages.


Member Function Documentation

int PackageDispatcher::create_packages MWindow mwindow,
EDL edl,
Preferences preferences,
int  strategy,
Asset default_asset,
double  total_start,
double  total_end,
int  test_overwrite
 

Definition at line 34 of file packagedispatcher.C.

References RenderPackage::audio_end, audio_end, audio_position, RenderPackage::audio_start, Preferences::brender_fragment, Render::create_filename(), current_number, current_package, EDLSession::frame_rate, Asset::frame_rate, Preferences::get_enabled_nodes(), Render::get_starting_number(), EDL::labels, min_package_len, nodes, number_start, package_len, packages, Asset::path, Label::position, Preferences::renderfarm_job_count, Preferences::renderfarm_nodes, Asset::sample_rate, EDL::session, ConfirmSave::test_files(), total_allocated, total_digits, total_len, total_packages, RenderPackage::video_end, video_end, video_position, and RenderPackage::video_start.

Referenced by BatchRenderThread::calculate_dest_paths(), Render::render(), and BRenderThread::start().

ArrayList< Asset * > * PackageDispatcher::get_asset_list  ) 
 

Definition at line 413 of file packagedispatcher.C.

References RenderPackage::audio_end, Asset::audio_length, RenderPackage::audio_start, current_package, packages, RenderPackage::path, Asset::path, RenderPackage::video_end, Asset::video_length, and RenderPackage::video_start.

Referenced by Render::render().

RenderPackage * PackageDispatcher::get_package int  number  ) 
 

Definition at line 430 of file packagedispatcher.C.

References packages.

RenderPackage * PackageDispatcher::get_package double  frames_per_second,
int  client_number,
int  use_local_rate
 

Definition at line 226 of file packagedispatcher.C.

References RenderPackage::audio_end, audio_end, audio_position, RenderPackage::audio_start, Preferences::copy_rates_from(), Render::create_filename(), current_number, current_package, Asset::frame_rate, Preferences::get_avg_rate(), MIN, min_package_len, number_start, package_len, package_lock, packages, Asset::path, RenderPackage::path, MWindow::preferences, Asset::sample_rate, Preferences::set_rate(), total_digits, total_packages, RenderPackage::video_end, video_end, video_position, and RenderPackage::video_start.

int PackageDispatcher::get_total_packages  ) 
 

Definition at line 435 of file packagedispatcher.C.

Referenced by BatchRenderThread::calculate_dest_paths().


Member Data Documentation

int64_t PackageDispatcher::audio_end
 

Definition at line 44 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

int64_t PackageDispatcher::audio_position
 

Definition at line 42 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

int PackageDispatcher::current_number
 

Definition at line 52 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

int PackageDispatcher::current_package
 

Definition at line 62 of file packagedispatcher.h.

Referenced by create_packages(), get_asset_list(), and get_package().

Asset* PackageDispatcher::default_asset
 

Definition at line 50 of file packagedispatcher.h.

EDL* PackageDispatcher::edl
 

Definition at line 41 of file packagedispatcher.h.

double PackageDispatcher::min_package_len
 

Definition at line 56 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

MWindow* PackageDispatcher::mwindow
 

Definition at line 60 of file packagedispatcher.h.

int PackageDispatcher::nodes
 

Definition at line 59 of file packagedispatcher.h.

Referenced by create_packages().

int PackageDispatcher::number_start
 

Definition at line 53 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

double PackageDispatcher::package_len
 

Definition at line 55 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

Mutex* PackageDispatcher::package_lock
 

Definition at line 63 of file packagedispatcher.h.

Referenced by get_package(), PackageDispatcher(), and ~PackageDispatcher().

RenderPackage** PackageDispatcher::packages
 

Definition at line 61 of file packagedispatcher.h.

Referenced by create_packages(), get_asset_list(), get_package(), PackageDispatcher(), and ~PackageDispatcher().

Preferences* PackageDispatcher::preferences
 

Definition at line 51 of file packagedispatcher.h.

int PackageDispatcher::strategy
 

Definition at line 49 of file packagedispatcher.h.

int64_t PackageDispatcher::total_allocated
 

Definition at line 58 of file packagedispatcher.h.

Referenced by create_packages(), and Render::start_progress().

int PackageDispatcher::total_digits
 

Definition at line 54 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

double PackageDispatcher::total_end
 

Definition at line 47 of file packagedispatcher.h.

double PackageDispatcher::total_len
 

Definition at line 48 of file packagedispatcher.h.

Referenced by create_packages().

int64_t PackageDispatcher::total_packages
 

Definition at line 57 of file packagedispatcher.h.

Referenced by create_packages(), get_package(), and ~PackageDispatcher().

double PackageDispatcher::total_start
 

Definition at line 46 of file packagedispatcher.h.

int64_t PackageDispatcher::video_end
 

Definition at line 45 of file packagedispatcher.h.

Referenced by create_packages(), PackageRenderer::do_video(), and get_package().

int64_t PackageDispatcher::video_position
 

Definition at line 43 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().


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