#include <plugin.h>
Inherits Edit.
Inherited by APlugin, Transition, and VPlugin.

Public Member Functions | |
| Plugin (EDL *edl, Track *track, char *title) | |
| Plugin (EDL *edl, PluginSet *plugin_set, char *title) | |
| virtual | ~Plugin () |
| virtual Plugin & | operator= (Plugin &edit) |
| virtual Edit & | operator= (Edit &edit) |
| void | equivalent_output (Edit *edit, int64_t *result) |
| int | is_synthesis (RenderEngine *renderengine, int64_t position, int direction) |
| virtual int | operator== (Plugin &that) |
| virtual int | operator== (Edit &that) |
| virtual void | copy_from (Edit *edit) |
| virtual int | identical (Plugin *that) |
| int | identical_location (Plugin *that) |
| virtual void | synchronize_params (Edit *edit) |
| void | shift_keyframes (int64_t position) |
| void | change_plugin (char *title, SharedLocation *shared_location, int plugin_type) |
| void | copy_keyframes (Plugin *plugin) |
| void | copy_keyframes (int64_t start, int64_t end, FileXML *file, int default_only, int autos_only) |
| void | clear_keyframes (int64_t start, int64_t end) |
| void | copy (int64_t start, int64_t end, FileXML *file) |
| void | paste (FileXML *file) |
| void | load (FileXML *file) |
| void | shift (int64_t difference) |
| void | dump () |
| KeyFrame * | get_prev_keyframe (int64_t position, int direction) |
| KeyFrame * | get_next_keyframe (int64_t position, int direction) |
| void | get_shared_location (SharedLocation *result) |
| virtual KeyFrame * | get_keyframe () |
| int | silence () |
| void | calculate_title (char *string, int use_nudge) |
| Track * | get_shared_track () |
| void | resample (double old_rate, double new_rate) |
Data Fields | |
| char | title [BCTEXTLEN] |
| int | plugin_type |
| int | in |
| int | out |
| int | show |
| int | on |
| PluginSet * | plugin_set |
| KeyFrames * | keyframes |
| SharedLocation | shared_location |
Definition at line 24 of file plugin.h.
Definition at line 20 of file plugin.C.
References Autos::create_objects(), in, keyframes, on, out, plugin_set, plugin_type, and show.

Definition at line 38 of file plugin.C.
References Autos::create_objects(), in, keyframes, on, out, plugin_type, show, Edits::track, and Edit::track.

| Plugin::~Plugin | ( | ) | [virtual] |
Reimplemented in Transition.
Definition at line 65 of file plugin.C.
References copy_from().

Reimplemented from Edit.
Reimplemented in Transition.
Definition at line 59 of file plugin.C.
References copy_from().

| void Plugin::equivalent_output | ( | Edit * | edit, | |
| int64_t * | result | |||
| ) | [virtual] |
Reimplemented from Edit.
Definition at line 152 of file plugin.C.
References Autos::equivalent_output(), keyframes, Edit::length, on, plugin_type, shared_location, Edit::startproject, and title.

| int Plugin::is_synthesis | ( | RenderEngine * | renderengine, | |
| int64_t | position, | |||
| int | direction | |||
| ) |
Definition at line 181 of file plugin.C.
References Track::data_type, Edit::edl, Track::get_current_plugin(), Track::is_synthesis(), is_synthesis(), SharedLocation::module, Tracks::number(), SharedLocation::plugin, plugin_type, RenderEngine::scan_plugindb(), shared_location, PluginServer::synthesis, title, Edit::track, and EDL::tracks.
Referenced by Track::is_synthesis(), and is_synthesis().

| int Plugin::operator== | ( | Plugin & | that | ) | [virtual] |
Reimplemented in Transition.
Definition at line 71 of file plugin.C.
References identical().

| int Plugin::operator== | ( | Edit & | that | ) | [virtual] |
Reimplemented from Edit.
Reimplemented in Transition.
Definition at line 76 of file plugin.C.
References identical().

| void Plugin::copy_from | ( | Edit * | edit | ) | [virtual] |
Reimplemented from Edit.
Definition at line 95 of file plugin.C.
References copy_keyframes(), in, Edit::length, on, out, plugin_type, shared_location, show, Edit::startproject, Edit::startsource, and title.
Referenced by Transition::copy_from(), PluginSet::copy_from(), Tracks::move_effect(), and operator=().

| int Plugin::identical | ( | Plugin * | that | ) | [virtual] |
Definition at line 232 of file plugin.C.
References Autos::default_auto, keyframes, SharedLocation::module, on, SharedLocation::plugin, plugin_type, shared_location, and title.
Referenced by Transition::identical(), operator==(), PluginSet::optimize(), and Module::test_plugins().
| int Plugin::identical_location | ( | Plugin * | that | ) |
Definition at line 258 of file plugin.C.
References PluginSet::get_number(), Track::number_of(), plugin_set, Edit::startproject, and Edits::track.
Referenced by MWindow::plugin_gui_open(), and MWindow::render_plugin_gui().

| void Plugin::synchronize_params | ( | Edit * | edit | ) | [virtual] |
| void Plugin::shift_keyframes | ( | int64_t | position | ) | [virtual] |
Reimplemented from Edit.
Definition at line 141 of file plugin.C.
References List< TYPE >::first, keyframes, and ListItem< TYPE >::next.
Referenced by shift().
| void Plugin::change_plugin | ( | char * | title, | |
| SharedLocation * | shared_location, | |||
| int | plugin_type | |||
| ) |
| void Plugin::copy_keyframes | ( | Plugin * | plugin | ) |
Definition at line 116 of file plugin.C.
References Autos::copy_from(), and keyframes.
Referenced by copy_from(), and synchronize_params().

| void Plugin::copy_keyframes | ( | int64_t | start, | |
| int64_t | end, | |||
| FileXML * | file, | |||
| int | default_only, | |||
| int | autos_only | |||
| ) |
Definition at line 121 of file plugin.C.
References Autos::copy(), and keyframes.

| void Plugin::clear_keyframes | ( | int64_t | start, | |
| int64_t | end | |||
| ) |
Definition at line 89 of file plugin.C.
References Autos::clear(), and keyframes.

| void Plugin::copy | ( | int64_t | start, | |
| int64_t | end, | |||
| FileXML * | file | |||
| ) |
Definition at line 384 of file plugin.C.
References FileXML::append_newline(), FileXML::append_tag(), Autos::copy(), in, keyframes, Edit::length, on, out, plugin_type, SharedLocation::save(), XMLTag::set_property(), XMLTag::set_title(), shared_location, show, Edit::startproject, Edit::startsource, FileXML::tag, and title.

| void Plugin::paste | ( | FileXML * | file | ) |
Definition at line 575 of file plugin.C.
References XMLTag::get_property(), Edit::length, and FileXML::tag.

| void Plugin::load | ( | FileXML * | file | ) |
Definition at line 470 of file plugin.C.
References List< TYPE >::append(), Autos::default_auto, Edit::edl, XMLTag::get_property(), in, keyframes, List< TYPE >::last, KeyFrame::load(), Auto::load(), SharedLocation::load(), on, out, Auto::position, FileXML::read_tag(), shared_location, show, FileXML::tag, and XMLTag::title_is().
Referenced by PluginSet::load().

| void Plugin::shift | ( | int64_t | difference | ) | [virtual] |
Reimplemented from Edit.
Definition at line 586 of file plugin.C.
References Edit::shift(), and shift_keyframes().
Referenced by Tracks::move_effect().

| void Plugin::dump | ( | ) |
Reimplemented from Edit.
Reimplemented in Transition.
Definition at line 592 of file plugin.C.
References KeyFrames::dump(), keyframes, Edit::length, SharedLocation::module, on, SharedLocation::plugin, plugin_type, shared_location, Edit::startproject, and title.

| KeyFrame * Plugin::get_prev_keyframe | ( | int64_t | position, | |
| int | direction | |||
| ) |
Definition at line 281 of file plugin.C.
References Autos::default_auto, Edit::edl, List< TYPE >::first, LocalSession::get_selectionstart(), keyframes, List< TYPE >::last, EDL::local_session, Auto::position, PREVIOUS, Track::to_units(), and Edit::track.
Referenced by get_keyframe(), and PluginServer::get_prev_keyframe().

| KeyFrame * Plugin::get_next_keyframe | ( | int64_t | position, | |
| int | direction | |||
| ) |
Definition at line 318 of file plugin.C.
References Autos::default_auto, Edit::edl, List< TYPE >::first, LocalSession::get_selectionstart(), keyframes, List< TYPE >::last, EDL::local_session, NEXT, Auto::position, Track::to_units(), and Edit::track.
Referenced by PluginServer::get_next_keyframe().

| void Plugin::get_shared_location | ( | SharedLocation * | result | ) |
Definition at line 537 of file plugin.C.
References Edit::edl, SharedLocation::module, ArrayList< TYPE >::number_of(), Tracks::number_of(), SharedLocation::plugin, Track::plugin_set, plugin_set, plugin_type, shared_location, Edit::track, and EDL::tracks.

| KeyFrame * Plugin::get_keyframe | ( | ) | [virtual] |
Reimplemented in Transition.
Definition at line 356 of file plugin.C.
References EDLSession::auto_keyframes, Autos::default_auto, Edit::edl, get_prev_keyframe(), LocalSession::get_selectionstart(), Autos::insert_auto(), keyframes, EDL::local_session, Auto::position, EDL::session, Track::to_units(), and Edit::track.
Referenced by PluginServer::get_keyframe().

| int Plugin::silence | ( | ) | [virtual] |
| void Plugin::calculate_title | ( | char * | string, | |
| int | use_nudge | |||
| ) |
Definition at line 556 of file plugin.C.
References _, SharedLocation::calculate_title(), Edit::edl, plugin_type, shared_location, Edit::startproject, and title.
Referenced by PluginDialogThread::start_window().

| Track * Plugin::get_shared_track | ( | ) |
Definition at line 550 of file plugin.C.
References Edit::edl, List< TYPE >::get_item_number(), SharedLocation::module, shared_location, and EDL::tracks.

| void Plugin::resample | ( | double | old_rate, | |
| double | new_rate | |||
| ) | [virtual] |
Reimplemented from Edit.
Definition at line 580 of file plugin.C.
References keyframes, and Autos::resample().

| char Plugin::title[BCTEXTLEN] |
Definition at line 110 of file plugin.h.
Referenced by AttachmentPoint::AttachmentPoint(), SharedLocation::calculate_title(), calculate_title(), copy(), copy_from(), Edit::copy_from(), PluginDialog::create_objects(), TrackCanvas::do_plugins(), VirtualNode::dump(), Transition::dump(), dump(), equivalent_output(), identical(), PluginSet::insert_plugin(), is_synthesis(), Transition::load_xml(), Transition::save_xml(), MWindow::show_plugin(), synchronize_params(), and Module::update_transition().
Definition at line 111 of file plugin.h.
Referenced by VirtualNode::attach_virtual_plugin(), calculate_title(), copy(), copy_from(), Module::create_new_attachments(), TrackCanvas::do_plugins(), dump(), equivalent_output(), VirtualNode::expand_as_module(), VirtualNode::expand_as_plugin(), get_shared_location(), EDL::get_shared_plugins(), identical(), PluginSet::insert_plugin(), Track::is_synthesis(), is_synthesis(), Tracks::move_effect(), Plugin(), Track::plugin_used(), silence(), PluginDialogThread::start_window(), and Module::test_plugins().
| int Plugin::in |
Definition at line 113 of file plugin.h.
Referenced by copy(), copy_from(), PluginPopupIn::handle_event(), load(), Plugin(), and synchronize_params().
| int Plugin::out |
Definition at line 113 of file plugin.h.
Referenced by copy(), copy_from(), PluginPopupOut::handle_event(), load(), Plugin(), and synchronize_params().
| int Plugin::show |
Definition at line 114 of file plugin.h.
Referenced by copy(), copy_from(), PluginServer::get_gui_status(), MWindow::hide_plugin(), load(), Plugin(), MWindow::show_plugin(), synchronize_params(), TransitionPopup::update(), PluginShow::update(), and PluginPopup::update().
| int Plugin::on |
Definition at line 114 of file plugin.h.
Referenced by VirtualNode::attach_virtual_module(), VirtualNode::attach_virtual_plugin(), AttachmentPoint::attach_virtual_plugin(), copy(), copy_from(), Module::create_new_attachments(), dump(), equivalent_output(), VirtualNode::expand_as_module(), VirtualNode::expand_as_plugin(), TransitionPopupOn::handle_event(), PluginOn::handle_event(), PluginPopupOn::handle_event(), identical(), load(), Transition::load_xml(), Plugin(), Track::plugin_used(), VModule::render(), VAttachmentPoint::render(), AAttachmentPoint::render(), VirtualVNode::render_as_plugin(), VirtualANode::render_as_plugin(), AttachmentPoint::render_init(), AttachmentPoint::render_stop(), Transition::save_xml(), synchronize_params(), Module::test_plugins(), TransitionPopup::update(), PluginOn::update(), and PluginPopup::update().
Definition at line 115 of file plugin.h.
Referenced by TrackCanvas::drag_stop(), get_shared_location(), PluginPopupDown::handle_event(), PluginPopupUp::handle_event(), identical_location(), Tracks::move_effect(), Plugin(), and TrackCanvas::plugin_dimensions().
Definition at line 124 of file plugin.h.
Referenced by clear_keyframes(), copy(), copy_keyframes(), dump(), equivalent_output(), Transition::get_keyframe(), get_keyframe(), get_next_keyframe(), get_prev_keyframe(), identical(), PluginSet::insert_plugin(), load(), Transition::load_xml(), PluginSet::optimize(), PluginSet::paste_keyframes(), Plugin(), resample(), Transition::save_xml(), shift_keyframes(), and ~Plugin().
Definition at line 127 of file plugin.h.
Referenced by VirtualNode::attach_virtual_module(), VirtualNode::attach_virtual_plugin(), calculate_title(), copy(), copy_from(), dump(), equivalent_output(), VirtualNode::expand_as_plugin(), get_shared_location(), get_shared_track(), identical(), PluginSet::insert_plugin(), is_synthesis(), load(), Tracks::move_effect(), and PluginDialogThread::start_window().
1.5.5