Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

PluginArray Class Reference

#include <pluginarray.h>

Inheritance diagram for PluginArray:

APluginArray VPluginArray List of all members.

Public Member Functions

 PluginArray (int data_type)
virtual ~PluginArray ()
PluginServerscan_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 Tracktrack_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)

Public Attributes

Module ** modules
MWindowmwindow
CICachecache
EDLedl
PluginServerplugin_server
KeyFramekeyframe
Filefile
int64_t buffer_size
int64_t start
int64_t end
int done
int error
int data_type

Detailed Description

Definition at line 21 of file pluginarray.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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::create_modules  )  [inline, virtual]
 

Reimplemented in APluginArray, and VPluginArray.

Definition at line 37 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 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 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 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 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::render_track int  track,
int64_t  fragment_len,
int64_t  position
[inline, virtual]
 

Definition at line 59 of file pluginarray.h.

int PluginArray::run_plugins  ) 
 

Definition at line 154 of file pluginarray.C.

References _, buffer_size, done, end, error, get_buffers(), MainProgressBar::get_time(), MWindow::gui, MWindow::mainprogress, mwindow, plugin_server, process_loop(), process_realtime(), PluginServer::realtime, MWindowGUI::show_message(), start, MainProgress::start_progress(), MainProgressBar::stop_progress(), PluginServer::title, MainProgressBar::update(), and write_buffers().

Referenced by MenuEffectThread::run().

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

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.

int PluginArray::stop_plugins  ) 
 

Definition at line 222 of file pluginarray.C.

References cache, plugin_server, and PluginServer::realtime.

Referenced by MenuEffectThread::run().

virtual int PluginArray::stop_plugins_derived  )  [inline, virtual]
 

Definition at line 58 of file pluginarray.h.

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 Track* PluginArray::track_number int  number  )  [inline, virtual]
 

Reimplemented in APluginArray, and VPluginArray.

Definition at line 53 of file pluginarray.h.

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 int PluginArray::write_frames_derived int64_t  frames_written  )  [inline, virtual]
 

Definition at line 55 of file pluginarray.h.

virtual int PluginArray::write_samples_derived int64_t  samples_written  )  [inline, virtual]
 

Definition at line 54 of file pluginarray.h.


Member Data Documentation

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

CICache* PluginArray::cache
 

Definition at line 63 of file pluginarray.h.

Referenced by VPluginArray::create_modules(), APluginArray::create_modules(), start_plugins(), and stop_plugins().

int PluginArray::data_type
 

Definition at line 74 of file pluginarray.h.

Referenced by scan_plugindb().

int PluginArray::done
 

Definition at line 72 of file pluginarray.h.

Referenced by run_plugins().

EDL* PluginArray::edl
 

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

int64_t PluginArray::end
 

Definition at line 71 of file pluginarray.h.

Referenced by run_plugins().

int PluginArray::error
 

Definition at line 73 of file pluginarray.h.

Referenced by run_plugins().

File* PluginArray::file
 

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

KeyFrame* PluginArray::keyframe
 

Definition at line 66 of file pluginarray.h.

Module** PluginArray::modules
 

Definition at line 59 of file pluginarray.h.

Referenced by VPluginArray::create_modules(), APluginArray::create_modules(), start_plugins(), APluginArray::~APluginArray(), ~PluginArray(), and VPluginArray::~VPluginArray().

MWindow* PluginArray::mwindow
 

Definition at line 62 of file pluginarray.h.

Referenced by VModule::import_frame(), run_plugins(), scan_plugindb(), and Module::update_transition().

PluginServer* PluginArray::plugin_server
 

Definition at line 65 of file pluginarray.h.

Referenced by run_plugins(), and stop_plugins().

int64_t PluginArray::start
 

Definition at line 71 of file pluginarray.h.

Referenced by run_plugins().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:22 2006 for Cinelerra-svn by  doxygen 1.4.4