Batch Class Reference

#include <batch.h>

Collaboration diagram for Batch:

Collaboration graph
[legend]

Public Member Functions

 Batch (MWindow *mwindow, Record *record)
 ~Batch ()
int create_objects ()
Assetget_current_asset ()
char * get_source_text ()
Channelget_current_channel_struct ()
void calculate_news ()
void create_default_path ()
void copy_from (Batch *batch)
void toggle_label (double position)
void start_over ()

Static Public Member Functions

static char * mode_to_text (int record_mode)
static int text_to_mode (char *text)

Data Fields

MWindowmwindow
Recordrecord
ArrayList< Asset * > assets
EDLedl
int current_asset
int recorded
int channel
double file_offset
int start_type
int enabled
double start_time
int start_day
double duration
int waiting
RecordLabelslabels
long total_samples
long total_frames
long current_sample
long current_frame
long session_samples
long session_frames
int file_exists
int record_mode
char news [BCTEXTLEN]

Detailed Description

Definition at line 13 of file batch.h.


Constructor & Destructor Documentation

Batch::Batch ( MWindow mwindow,
Record record 
)

Batch::~Batch (  ) 

Definition at line 43 of file batch.C.

References assets, Garbage::delete_object(), edl, labels, ArrayList< TYPE >::remove_all(), ArrayList< TYPE >::total, and ArrayList< TYPE >::values.

Here is the call graph for this function:


Member Function Documentation

int Batch::create_objects (  ) 

Definition at line 52 of file batch.C.

Referenced by Record::new_batch().

char * Batch::mode_to_text ( int  record_mode  )  [static]

int Batch::text_to_mode ( char *  text  )  [static]

Definition at line 136 of file batch.C.

References mode_to_text().

Referenced by RecordMode::handle_event().

Here is the call graph for this function:

Asset * Batch::get_current_asset (  ) 

char * Batch::get_source_text (  ) 

Definition at line 181 of file batch.C.

References channel, get_current_channel_struct(), and Channel::title.

Referenced by Record::current_source(), and RecordGUI::update_batch_tools().

Here is the call graph for this function:

Channel * Batch::get_current_channel_struct (  ) 

Definition at line 171 of file batch.C.

References channel, Record::channeldb, ChannelDB::get(), and record.

Referenced by get_source_text().

Here is the call graph for this function:

void Batch::calculate_news (  ) 

void Batch::create_default_path (  ) 

Definition at line 103 of file batch.C.

References Record::batches, BCTEXTLEN, Record::default_asset, get_current_asset(), Asset::path, record, and ArrayList< TYPE >::total.

Referenced by Record::new_batch().

Here is the call graph for this function:

void Batch::copy_from ( Batch batch  ) 

Definition at line 69 of file batch.C.

References channel, duration, enabled, record_mode, start_day, start_time, and start_type.

Referenced by Record::new_batch().

void Batch::toggle_label ( double  position  ) 

Definition at line 196 of file batch.C.

References labels, and RecordLabels::toggle_label().

Referenced by Record::toggle_label().

Here is the call graph for this function:

void Batch::start_over (  ) 

Definition at line 57 of file batch.C.

References calculate_news(), current_frame, current_sample, file_offset, labels, List< TYPE >::last, total_frames, and total_samples.

Referenced by Record::start_over().

Here is the call graph for this function:


Field Documentation

Definition at line 31 of file batch.h.

Definition at line 32 of file batch.h.

Referenced by calculate_news(), create_default_path(), and get_current_channel_struct().

Definition at line 38 of file batch.h.

Referenced by Batch(), and ~Batch().

Definition at line 40 of file batch.h.

Referenced by Batch(), get_current_asset(), and Record::init_next_file().

Definition at line 41 of file batch.h.

Referenced by Batch(), RecordThread::run(), and Record::run().

Definition at line 59 of file batch.h.

Referenced by Batch(), and RecordGUI::update_batches().

Definition at line 60 of file batch.h.

Referenced by Batch(), Record::run(), start_over(), toggle_label(), RecordGUI::update_labels(), and ~Batch().

Definition at line 62 of file batch.h.

Referenced by Batch(), RecordThread::run(), RecordAudio::run(), and start_over().

Definition at line 62 of file batch.h.

Referenced by Batch(), RecordVideo::run(), RecordThread::run(), and start_over().

Definition at line 66 of file batch.h.

Referenced by Batch(), RecordVideo::rewind_file(), RecordVideo::run(), and RecordThread::run().

Definition at line 69 of file batch.h.

Referenced by Batch().

char Batch::news[BCTEXTLEN]


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

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