BatchRenderThread Class Reference

#include <batchrender.h>

Inherits BC_DialogThread.

Collaboration diagram for BatchRenderThread:

Collaboration graph
[legend]

Public Member Functions

 BatchRenderThread (MWindow *mwindow)
 BatchRenderThread ()
void handle_close_event (int result)
BC_Windownew_gui ()
int test_edl_files ()
void calculate_dest_paths (ArrayList< char * > *paths, Preferences *preferences, ArrayList< PluginServer * > *plugindb)
void load_jobs (char *path, Preferences *preferences)
void save_jobs (char *path)
void load_defaults (BC_Hash *defaults)
void save_defaults (BC_Hash *defaults)
char * create_path (char *string)
void new_job ()
void delete_job ()
BatchRenderJobget_current_job ()
Assetget_current_asset ()
char * get_current_edl ()
void start_rendering (char *config_path, char *batch_path)
void start_rendering ()
void stop_rendering ()
void update_active (int number)
void update_done (int number, int create_list, double elapsed_time)
void move_batch (int src, int dst)

Data Fields

MWindowmwindow
double current_start
double current_end
BatchRenderJobdefault_job
ArrayList< BatchRenderJob * > jobs
BatchRenderGUIgui
int column_width [BATCHRENDER_COLUMNS]
int current_job
int rendering_job
int is_rendering

Detailed Description

Definition at line 59 of file batchrender.h.


Constructor & Destructor Documentation

BatchRenderThread::BatchRenderThread ( MWindow mwindow  ) 

Definition at line 180 of file batchrender.C.

References current_job, default_job, is_rendering, and rendering_job.

BatchRenderThread::BatchRenderThread (  ) 

Definition at line 190 of file batchrender.C.

References current_job, default_job, is_rendering, mwindow, and rendering_job.


Member Function Documentation

void BatchRenderThread::handle_close_event ( int  result  )  [virtual]

Reimplemented from BC_DialogThread.

Definition at line 200 of file batchrender.C.

References BCTEXTLEN, default_job, MWindow::defaults, jobs, mwindow, ArrayList< TYPE >::remove_all_objects(), save_defaults(), save_jobs(), and TRACE.

Here is the call graph for this function:

BC_Window * BatchRenderThread::new_gui (  )  [virtual]

int BatchRenderThread::test_edl_files (  ) 

void BatchRenderThread::calculate_dest_paths ( ArrayList< char * > *  paths,
Preferences preferences,
ArrayList< PluginServer * > *  plugindb 
)

void BatchRenderThread::load_jobs ( char *  path,
Preferences preferences 
)

void BatchRenderThread::save_jobs ( char *  path  ) 

void BatchRenderThread::load_defaults ( BC_Hash defaults  ) 

Definition at line 282 of file batchrender.C.

References BatchRenderJob::asset, BATCHRENDER_COLUMNS, BCTEXTLEN, column_width, default_job, BatchRenderJob::fix_strategy(), BC_Hash::get(), list_widths, and Asset::load_defaults().

Referenced by new_gui(), and start_rendering().

Here is the call graph for this function:

void BatchRenderThread::save_defaults ( BC_Hash defaults  ) 

char * BatchRenderThread::create_path ( char *  string  ) 

Definition at line 330 of file batchrender.C.

References BCASTDIR, and FileSystem::complete_path().

Referenced by load_jobs(), and save_jobs().

Here is the call graph for this function:

void BatchRenderThread::new_job (  ) 

void BatchRenderThread::delete_job (  ) 

Definition at line 349 of file batchrender.C.

References BatchRenderGUI::change_job(), BatchRenderGUI::create_list(), current_job, gui, jobs, and ArrayList< TYPE >::remove_object_number().

Referenced by BatchRenderDelete::handle_event().

Here is the call graph for this function:

BatchRenderJob * BatchRenderThread::get_current_job (  ) 

Asset * BatchRenderThread::get_current_asset (  ) 

Definition at line 375 of file batchrender.C.

References BatchRenderJob::asset, and get_current_job().

Referenced by BatchRenderGUI::create_objects().

Here is the call graph for this function:

char * BatchRenderThread::get_current_edl (  ) 

Definition at line 380 of file batchrender.C.

References BatchRenderJob::edl_path, and get_current_job().

Referenced by BatchRenderGUI::create_objects(), and BatchRenderEDLPath::handle_event().

Here is the call graph for this function:

void BatchRenderThread::start_rendering ( char *  config_path,
char *  batch_path 
)

void BatchRenderThread::start_rendering (  ) 

void BatchRenderThread::stop_rendering (  ) 

void BatchRenderThread::update_active ( int  number  ) 

Definition at line 560 of file batchrender.C.

References BatchRenderGUI::create_list(), current_job, gui, is_rendering, BC_WindowBase::lock_window(), rendering_job, and BC_WindowBase::unlock_window().

Referenced by Render::run().

Here is the call graph for this function:

void BatchRenderThread::update_done ( int  number,
int  create_list,
double  elapsed_time 
)

void BatchRenderThread::move_batch ( int  src,
int  dst 
)

Definition at line 596 of file batchrender.C.

References BatchRenderGUI::create_list(), gui, jobs, ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Referenced by BatchRenderList::drag_stop_event().

Here is the call graph for this function:


Field Documentation

Definition at line 97 of file batchrender.h.

Referenced by new_gui().

Definition at line 98 of file batchrender.h.

Referenced by new_gui().

int BatchRenderThread::column_width[BATCHRENDER_COLUMNS]

Definition at line 106 of file batchrender.h.

Referenced by BatchRenderThread(), BatchRenderGUI::create_list(), and update_active().


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

Generated on Mon Apr 28 14:12:51 2008 for Cinelerra by  doxygen 1.5.5