PackageDispatcher Class Reference

#include <packagedispatcher.h>

Collaboration diagram for PackageDispatcher:

Collaboration graph
[legend]

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 ()
void get_package_paths (ArrayList< char * > *path_list)
int get_total_packages ()
int64_t get_progress_max ()
int packages_are_done ()

Private 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
Mutexpackage_lock
PackagingEnginepackaging_engine

Detailed Description

Definition at line 19 of file packagedispatcher.h.


Constructor & Destructor Documentation

PackageDispatcher::PackageDispatcher (  ) 

Definition at line 17 of file packagedispatcher.C.

References package_lock, packages, and packaging_engine.

PackageDispatcher::~PackageDispatcher (  ) 

Definition at line 24 of file packagedispatcher.C.

References package_lock, packages, packaging_engine, 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 
)

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

ArrayList< Asset * > * PackageDispatcher::get_asset_list (  ) 

void PackageDispatcher::get_package_paths ( ArrayList< char * > *  path_list  ) 

int PackageDispatcher::get_total_packages (  ) 

Definition at line 363 of file packagedispatcher.C.

References total_allocated.

int64_t PackageDispatcher::get_progress_max (  ) 

Definition at line 351 of file packagedispatcher.C.

References PackagingEngine::get_progress_max(), packaging_engine, Preferences::render_preroll, Asset::sample_rate, Units::to_int64(), and total_allocated.

Referenced by Render::start_progress().

Here is the call graph for this function:

int PackageDispatcher::packages_are_done (  ) 

Definition at line 368 of file packagedispatcher.C.

References PackagingEngine::packages_are_done(), and packaging_engine.

Referenced by Render::render().

Here is the call graph for this function:


Field Documentation

Definition at line 46 of file packagedispatcher.h.

Definition at line 47 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

Definition at line 48 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

int64_t PackageDispatcher::audio_end [private]

Definition at line 49 of file packagedispatcher.h.

Referenced by create_packages().

int64_t PackageDispatcher::video_end [private]

Definition at line 50 of file packagedispatcher.h.

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

Definition at line 51 of file packagedispatcher.h.

double PackageDispatcher::total_end [private]

Definition at line 52 of file packagedispatcher.h.

double PackageDispatcher::total_len [private]

Definition at line 53 of file packagedispatcher.h.

Referenced by create_packages().

Definition at line 54 of file packagedispatcher.h.

Definition at line 55 of file packagedispatcher.h.

Definition at line 56 of file packagedispatcher.h.

Definition at line 57 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

Definition at line 58 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

Definition at line 59 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

Definition at line 60 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

Definition at line 61 of file packagedispatcher.h.

Referenced by create_packages(), and get_package().

Definition at line 62 of file packagedispatcher.h.

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

int PackageDispatcher::nodes [private]

Definition at line 64 of file packagedispatcher.h.

Referenced by create_packages().

Definition at line 65 of file packagedispatcher.h.

Definition at line 67 of file packagedispatcher.h.

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

Definition at line 68 of file packagedispatcher.h.

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


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

Generated on Mon Apr 28 14:34:16 2008 for Cinelerra by  doxygen 1.5.5