#include <batch.h>

Public Member Functions | |
| Batch (MWindow *mwindow, Record *record) | |
| ~Batch () | |
| int | create_objects () |
| Asset * | get_current_asset () |
| char * | get_source_text () |
| Channel * | get_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 | |
| MWindow * | mwindow |
| Record * | record |
| ArrayList< Asset * > | assets |
| EDL * | edl |
| 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 |
| RecordLabels * | labels |
| 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] |
Definition at line 13 of file batch.h.
Definition at line 14 of file batch.C.
References ArrayList< TYPE >::append(), assets, channel, current_asset, current_frame, current_sample, duration, edl, enabled, file_exists, file_offset, labels, news, record_mode, recorded, session_frames, session_samples, start_day, start_time, start_type, total_frames, total_samples, and waiting.

| 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.

| int Batch::create_objects | ( | ) |
| char * Batch::mode_to_text | ( | int | record_mode | ) | [static] |
Definition at line 145 of file batch.C.
References _.
Referenced by RecordGUI::create_objects(), Record::current_mode(), text_to_mode(), RecordGUI::update_batch_tools(), and RecordGUI::update_batches().
| 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().

| Asset * Batch::get_current_asset | ( | ) |
Definition at line 165 of file batch.C.
References assets, current_asset, and ArrayList< TYPE >::values.
Referenced by calculate_news(), Record::configure_batches(), create_default_path(), Record::current_asset(), Record::delete_output_file(), Record::new_batch(), Record::open_output_file(), RecordThread::run(), Record::run(), RecordGUI::update_batch_tools(), and RecordGUI::update_batches().
| 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().

| 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().

| void Batch::calculate_news | ( | ) |
Definition at line 81 of file batch.C.
References _, fclose(), Record::file, fopen(), get_current_asset(), Record::get_current_batch(), news, and record.
Referenced by Record::activate_batch(), Record::configure_batches(), RecordPath::handle_event(), Record::new_batch(), Record::open_output_file(), and start_over().

| 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().

| 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().

| 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().

Definition at line 32 of file batch.h.
Referenced by calculate_news(), create_default_path(), and get_current_channel_struct().
Definition at line 35 of file batch.h.
Referenced by Batch(), Record::configure_batches(), get_current_asset(), RecordPath::handle_event(), Record::init_next_file(), Record::load_defaults(), Record::run(), Record::save_defaults(), and ~Batch().
Definition at line 40 of file batch.h.
Referenced by Batch(), get_current_asset(), and Record::init_next_file().
| int Batch::recorded |
Definition at line 41 of file batch.h.
Referenced by Batch(), RecordThread::run(), and Record::run().
| int Batch::channel |
Definition at line 45 of file batch.h.
Referenced by Batch(), copy_from(), Record::get_current_channel(), get_current_channel_struct(), Record::get_editing_channel(), get_source_text(), RecordChannelPicker::handle_channel_edit(), Record::load_defaults(), Record::save_defaults(), Record::set_channel(), and Record::source_to_text().
| double Batch::file_offset |
Definition at line 48 of file batch.h.
Referenced by Batch(), Record::batch_video_offset(), Record::current_audio_position(), Record::current_display_position(), Record::current_video_position(), and start_over().
Definition at line 50 of file batch.h.
Referenced by Batch(), copy_from(), Record::current_offset_type(), Record::load_defaults(), and Record::save_defaults().
| int Batch::enabled |
Definition at line 52 of file batch.h.
Referenced by Batch(), copy_from(), BatchRenderGUI::create_list(), Record::get_next_batch(), Record::load_defaults(), Record::save_defaults(), RecordGUIBatches::selection_changed(), and RecordGUI::update_batches().
| double Batch::start_time |
Definition at line 54 of file batch.h.
Referenced by Batch(), copy_from(), Record::current_start(), RecordThread::do_cron(), Record::load_defaults(), Record::save_defaults(), RecordGUI::update_batch_tools(), and RecordGUI::update_batches().
| int Batch::start_day |
Definition at line 55 of file batch.h.
Referenced by Batch(), copy_from(), RecordThread::do_cron(), Record::load_defaults(), Record::save_defaults(), RecordGUI::update_batch_tools(), and RecordGUI::update_batches().
| double Batch::duration |
Definition at line 57 of file batch.h.
Referenced by Batch(), copy_from(), Record::current_duration(), Record::current_duration_frames(), Record::current_duration_samples(), Record::load_defaults(), Record::save_defaults(), RecordGUI::update_batch_tools(), and RecordGUI::update_batches().
| int Batch::waiting |
Definition at line 60 of file batch.h.
Referenced by Batch(), Record::run(), start_over(), toggle_label(), RecordGUI::update_labels(), and ~Batch().
| long Batch::total_samples |
Definition at line 62 of file batch.h.
Referenced by Batch(), RecordThread::run(), RecordAudio::run(), and start_over().
| long Batch::total_frames |
Definition at line 62 of file batch.h.
Referenced by Batch(), RecordVideo::run(), RecordThread::run(), and start_over().
Definition at line 64 of file batch.h.
Referenced by Batch(), Record::current_display_position(), RecordVideo::rewind_file(), Record::rewind_file(), RecordAudio::run(), and start_over().
| long Batch::current_frame |
Definition at line 64 of file batch.h.
Referenced by Batch(), Record::current_display_position(), RecordVideo::rewind_file(), Record::rewind_file(), RecordVideo::run(), and start_over().
Definition at line 66 of file batch.h.
Referenced by Batch(), RecordVideo::rewind_file(), RecordThread::run(), RecordAudio::run(), and RecordAudio::sync_position().
Definition at line 66 of file batch.h.
Referenced by Batch(), RecordVideo::rewind_file(), RecordVideo::run(), and RecordThread::run().
Definition at line 71 of file batch.h.
Referenced by Batch(), copy_from(), RecordMode::handle_event(), Record::load_defaults(), RecordVideo::run(), RecordThread::run(), RecordAudio::run(), Record::save_defaults(), RecordGUI::update_batch_tools(), and RecordGUI::update_batches().
| char Batch::news[BCTEXTLEN] |
Definition at line 72 of file batch.h.
Referenced by Batch(), calculate_news(), Record::current_news(), Record::delete_output_file(), and RecordGUI::update_batches().
1.5.5