#include <pluginarray.h>
Inherits ArrayList< PluginServer * >.
Inherited by APluginArray, and VPluginArray.

Public Member Functions | |
| PluginArray (int data_type) | |
| virtual | ~PluginArray () |
| PluginServer * | scan_plugindb (char *title) |
| int | start_plugins (MWindow *mwindow, EDL *edl, PluginServer *plugin_server, KeyFrame *keyframe, int64_t start, int64_t end, File *file) |
| int | run_plugins () |
| int | stop_plugins () |
| virtual void | create_modules () |
| virtual void | create_buffers () |
| virtual void | get_buffers () |
| virtual void | process_realtime (int module, int64_t input_position, int64_t len) |
| virtual int | process_loop (int module, int64_t &write_length) |
| virtual int | write_buffers (int64_t len) |
| virtual int64_t | get_bufsize () |
| virtual int | total_tracks () |
| virtual void | get_recordable_tracks () |
| virtual Track * | track_number (int number) |
| virtual int | write_samples_derived (int64_t samples_written) |
| virtual int | write_frames_derived (int64_t frames_written) |
| virtual int | start_plugins_derived () |
| virtual int | start_realtime_plugins_derived () |
| virtual int | stop_plugins_derived () |
| virtual int | render_track (int track, int64_t fragment_len, int64_t position) |
Data Fields | |
| Module ** | modules |
| MWindow * | mwindow |
| CICache * | cache |
| EDL * | edl |
| PluginServer * | plugin_server |
| KeyFrame * | keyframe |
| File * | file |
| int64_t | buffer_size |
| int64_t | start |
| int64_t | end |
| int | done |
| int | error |
| int | data_type |
Definition at line 21 of file pluginarray.h.
| PluginArray::PluginArray | ( | int | data_type | ) |
Definition at line 19 of file pluginarray.C.
| PluginArray::~PluginArray | ( | ) | [virtual] |
Definition at line 25 of file pluginarray.C.
References modules, and ArrayList< PluginServer * >::remove_all_objects().

| PluginServer * PluginArray::scan_plugindb | ( | char * | title | ) |
Definition at line 32 of file pluginarray.C.
References data_type, mwindow, and MWindow::scan_plugindb().
Referenced by Module::update_transition().

| int PluginArray::start_plugins | ( | MWindow * | mwindow, | |
| EDL * | edl, | |||
| PluginServer * | plugin_server, | |||
| KeyFrame * | keyframe, | |||
| int64_t | start, | |||
| int64_t | end, | |||
| File * | file | |||
| ) |
Definition at line 37 of file pluginarray.C.
References ArrayList< PluginServer * >::append(), PluginServer::append_module(), buffer_size, cache, create_buffers(), create_modules(), MWindow::edl, get_bufsize(), PluginServer::get_parameters(), get_recordable_tracks(), PluginServer::init_realtime(), modules, PluginServer::multichannel, PluginServer::open_plugin(), PluginAClientWindow::plugin, MWindow::plugindb, MWindow::preferences, PluginServer::realtime, PluginServer::set_interactive(), PluginServer::set_keyframe(), PluginServer::set_mwindow(), PluginServer::start_loop(), and total_tracks().
Referenced by MenuEffectThread::run().

| int PluginArray::run_plugins | ( | ) |
Definition at line 154 of file pluginarray.C.
References _, BCTEXTLEN, buffer_size, done, end, error, get_buffers(), MainProgressBar::get_time(), MWindow::gui, BC_WindowBase::lock_window(), MWindow::mainprogress, mwindow, plugin_server, process_loop(), process_realtime(), PluginServer::realtime, MWindowGUI::show_message(), start, MainProgress::start_progress(), MainProgressBar::stop_progress(), PluginServer::title, ArrayList< PluginServer * >::total, BC_WindowBase::unlock_window(), MainProgressBar::update(), and write_buffers().
Referenced by MenuEffectThread::run().

| int PluginArray::stop_plugins | ( | ) |
Definition at line 222 of file pluginarray.C.
References cache, PluginServer::close_plugin(), plugin_server, PluginServer::realtime, PluginServer::stop_loop(), ArrayList< PluginServer * >::total, and ArrayList< PluginServer * >::values.
Referenced by MenuEffectThread::run().

| virtual void PluginArray::create_modules | ( | ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 37 of file pluginarray.h.
Referenced by start_plugins().
| virtual void PluginArray::create_buffers | ( | ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 38 of file pluginarray.h.
Referenced by start_plugins().
| virtual void PluginArray::get_buffers | ( | ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 39 of file pluginarray.h.
Referenced by run_plugins().
| virtual void PluginArray::process_realtime | ( | int | module, | |
| int64_t | input_position, | |||
| int64_t | len | |||
| ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 45 of file pluginarray.h.
Referenced by run_plugins().
| virtual int PluginArray::process_loop | ( | int | module, | |
| int64_t & | write_length | |||
| ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 48 of file pluginarray.h.
Referenced by run_plugins().
| virtual int PluginArray::write_buffers | ( | int64_t | len | ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 49 of file pluginarray.h.
Referenced by run_plugins().
| virtual int64_t PluginArray::get_bufsize | ( | ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 50 of file pluginarray.h.
Referenced by AModule::get_buffer_size(), and start_plugins().
| virtual int PluginArray::total_tracks | ( | ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 51 of file pluginarray.h.
Referenced by start_plugins().
| virtual void PluginArray::get_recordable_tracks | ( | ) | [inline, virtual] |
Reimplemented in APluginArray, and VPluginArray.
Definition at line 52 of file pluginarray.h.
Referenced by start_plugins().
| virtual Track* PluginArray::track_number | ( | int | number | ) | [inline, virtual] |
| virtual int PluginArray::write_samples_derived | ( | int64_t | samples_written | ) | [inline, virtual] |
Definition at line 54 of file pluginarray.h.
| virtual int PluginArray::write_frames_derived | ( | int64_t | frames_written | ) | [inline, virtual] |
Definition at line 55 of file pluginarray.h.
| virtual int PluginArray::start_plugins_derived | ( | ) | [inline, virtual] |
Definition at line 56 of file pluginarray.h.
| virtual int PluginArray::start_realtime_plugins_derived | ( | ) | [inline, virtual] |
Definition at line 57 of file pluginarray.h.
| virtual int PluginArray::stop_plugins_derived | ( | ) | [inline, virtual] |
Definition at line 58 of file pluginarray.h.
| virtual int PluginArray::render_track | ( | int | track, | |
| int64_t | fragment_len, | |||
| int64_t | position | |||
| ) | [inline, virtual] |
Definition at line 59 of file pluginarray.h.
Definition at line 59 of file pluginarray.h.
Referenced by VPluginArray::create_modules(), APluginArray::create_modules(), start_plugins(), APluginArray::~APluginArray(), ~PluginArray(), and VPluginArray::~VPluginArray().
Definition at line 62 of file pluginarray.h.
Referenced by VModule::import_frame(), run_plugins(), scan_plugindb(), Module::update_transition(), and VModule::VModule().
Definition at line 63 of file pluginarray.h.
Referenced by VPluginArray::create_modules(), APluginArray::create_modules(), start_plugins(), and stop_plugins().
Definition at line 64 of file pluginarray.h.
Referenced by VPluginArray::create_buffers(), VPluginArray::create_modules(), APluginArray::create_modules(), APluginArray::get_bufsize(), VPluginArray::get_recordable_tracks(), APluginArray::get_recordable_tracks(), VPluginArray::process_realtime(), and APluginArray::process_realtime().
Definition at line 66 of file pluginarray.h.
Definition at line 68 of file pluginarray.h.
Referenced by VPluginArray::create_buffers(), APluginArray::create_buffers(), VPluginArray::get_buffers(), APluginArray::get_buffers(), VPluginArray::process_loop(), APluginArray::process_loop(), VPluginArray::write_buffers(), APluginArray::write_buffers(), APluginArray::~APluginArray(), and VPluginArray::~VPluginArray().
| int64_t PluginArray::buffer_size |
Definition at line 69 of file pluginarray.h.
Referenced by VPluginArray::create_buffers(), APluginArray::create_buffers(), run_plugins(), and start_plugins().
| int64_t PluginArray::start |
| int64_t PluginArray::end |
1.5.5