#include <pluginset.h>
Inherits Edits.
Inherited by APluginSet, and VPluginSet.

Public Member Functions | |
| PluginSet (EDL *edl, Track *track) | |
| virtual | ~PluginSet () |
| virtual void | synchronize_params (PluginSet *plugin_set) |
| virtual PluginSet & | operator= (PluginSet &plugins) |
| virtual Plugin * | create_plugin () |
| void | clear_keyframes (int64_t start, int64_t end) |
| void | clear_recursive (int64_t start, int64_t end) |
| void | shift_keyframes_recursive (int64_t position, int64_t length) |
| void | shift_effects_recursive (int64_t position, int64_t length) |
| void | clear (int64_t start, int64_t end) |
| void | copy_from (PluginSet *src) |
| void | copy (int64_t start, int64_t end, FileXML *file) |
| void | copy_keyframes (int64_t start, int64_t end, FileXML *file, int default_only, int autos_only) |
| int64_t | plugin_change_duration (int64_t input_position, int64_t input_length, int reverse) |
| void | shift_effects (int64_t start, int64_t length) |
| Edit * | insert_edit_after (Edit *previous_edit) |
| Edit * | create_edit () |
| Plugin * | get_first_plugin () |
| int | get_number () |
| void | save (FileXML *file) |
| void | load (FileXML *file, uint32_t load_flags) |
| void | dump () |
| int | optimize () |
| Plugin * | insert_plugin (char *title, int64_t unit_position, int64_t unit_length, int plugin_type, SharedLocation *shared_location, KeyFrame *default_keyframe, int do_optimize) |
Static Public Member Functions | |
| static void | paste_keyframes (int64_t start, int64_t length, FileXML *file, int default_only, Track *track) |
Data Fields | |
| PluginAutos * | automation |
| int | record |
Definition at line 15 of file pluginset.h.
| PluginSet::~PluginSet | ( | ) | [virtual] |
| void PluginSet::synchronize_params | ( | PluginSet * | plugin_set | ) | [virtual] |
Definition at line 108 of file pluginset.C.
References List< TYPE >::first, List< Edit >::first, and ListItem< TYPE >::next.
Referenced by Track::synchronize_params().
Definition at line 25 of file pluginset.C.
References copy_from().

| virtual Plugin* PluginSet::create_plugin | ( | ) | [inline, virtual] |
| void PluginSet::clear_keyframes | ( | int64_t | start, | |
| int64_t | end | |||
| ) |
Definition at line 196 of file pluginset.C.
References List< Edit >::first, and NEXT.
Referenced by Track::clear_automation().
| void PluginSet::clear_recursive | ( | int64_t | start, | |
| int64_t | end | |||
| ) |
Definition at line 178 of file pluginset.C.
References clear().

| void PluginSet::shift_keyframes_recursive | ( | int64_t | position, | |
| int64_t | length | |||
| ) | [virtual] |
| void PluginSet::shift_effects_recursive | ( | int64_t | position, | |
| int64_t | length | |||
| ) | [virtual] |
| void PluginSet::clear | ( | int64_t | start, | |
| int64_t | end | |||
| ) | [virtual] |
Reimplemented from Edits.
Definition at line 164 of file pluginset.C.
References Edits::clear(), List< Edit >::first, and NEXT.
Referenced by Track::clear(), clear_recursive(), Track::detach_effect(), Track::detach_shared_effects(), and Tracks::move_effect().

| void PluginSet::copy_from | ( | PluginSet * | src | ) |
Definition at line 32 of file pluginset.C.
References List< Edit >::append(), Plugin::copy_from(), create_edit(), List< TYPE >::first, List< Edit >::last, new_plugin(), NEXT, and record.
Referenced by Track::copy_from(), and operator=().

| void PluginSet::copy | ( | int64_t | start, | |
| int64_t | end, | |||
| FileXML * | file | |||
| ) |
Definition at line 424 of file pluginset.C.
References FileXML::append_newline(), FileXML::append_tag(), List< Edit >::first, NEXT, record, XMLTag::set_property(), XMLTag::set_title(), and FileXML::tag.
Referenced by Track::copy(), and save().

| void PluginSet::copy_keyframes | ( | int64_t | start, | |
| int64_t | end, | |||
| FileXML * | file, | |||
| int | default_only, | |||
| int | autos_only | |||
| ) |
Definition at line 204 of file pluginset.C.
References FileXML::append_newline(), FileXML::append_tag(), List< Edit >::first, NEXT, XMLTag::set_title(), and FileXML::tag.
Referenced by Track::copy_automation().

| void PluginSet::paste_keyframes | ( | int64_t | start, | |
| int64_t | length, | |||
| FileXML * | file, | |||
| int | default_only, | |||
| Track * | track | |||
| ) | [static] |
Definition at line 227 of file pluginset.C.
References ArrayList< TYPE >::append(), KeyFrame::data, Autos::default_auto, XMLTag::get_property(), Autos::insert_auto(), Plugin::keyframes, List< TYPE >::last, Track::plugin_set, Auto::position, PREVIOUS, FileXML::read_tag(), FileXML::read_text_until(), ArrayList< TYPE >::remove(), Edit::startproject, strchr, FileXML::tag, XMLTag::title_is(), ArrayList< TYPE >::total, and ArrayList< TYPE >::values.
Referenced by Track::paste_automation().

| int64_t PluginSet::plugin_change_duration | ( | int64_t | input_position, | |
| int64_t | input_length, | |||
| int | reverse | |||
| ) |
Definition at line 58 of file pluginset.C.
References List< Edit >::first, List< Edit >::last, Edit::length, NEXT, PREVIOUS, and Edit::startproject.
Referenced by Track::plugin_change_duration().
| void PluginSet::shift_effects | ( | int64_t | start, | |
| int64_t | length | |||
| ) |
Definition at line 393 of file pluginset.C.
References List< Edit >::first, and NEXT.
Referenced by Track::shift_effects().
Reimplemented from Edits.
Definition at line 151 of file pluginset.C.
References Edits::edl, and List< TYPE >::insert_after().

| Edit * PluginSet::create_edit | ( | ) | [virtual] |
Reimplemented from Edits.
Definition at line 145 of file pluginset.C.
References Edits::edl.
Referenced by copy_from(), and optimize().
| Plugin * PluginSet::get_first_plugin | ( | ) |
Definition at line 44 of file pluginset.C.
References List< Edit >::first, and NEXT.
Referenced by Track::equivalent_output().
| int PluginSet::get_number | ( | ) |
Definition at line 159 of file pluginset.C.
References ArrayList< TYPE >::number_of(), Track::plugin_set, and Edits::track.
Referenced by Plugin::identical_location(), and TrackCanvas::plugin_dimensions().

| void PluginSet::save | ( | FileXML * | file | ) |
Definition at line 441 of file pluginset.C.
References copy(), and Edits::length().

| void PluginSet::load | ( | FileXML * | file, | |
| uint32_t | load_flags | |||
| ) |
Definition at line 446 of file pluginset.C.
References BCTEXTLEN, List< Edit >::first, XMLTag::get_property(), insert_plugin(), Edits::length(), Plugin::load(), SharedLocation::load(), Edits::loaded_length, ListItem< TYPE >::next, optimize(), FileXML::read_tag(), record, FileXML::tag, and XMLTag::title_is().
Referenced by Track::load().

| void PluginSet::dump | ( | ) |
Definition at line 633 of file pluginset.C.
References List< Edit >::first, and NEXT.
Referenced by Track::dump().
| int PluginSet::optimize | ( | ) | [virtual] |
Reimplemented from Edits.
Definition at line 506 of file pluginset.C.
References List< TYPE >::append(), create_edit(), Autos::default_auto, Edits::edl, List< TYPE >::first, List< Edit >::first, Plugin::identical(), List< Edit >::insert_after(), List< Edit >::insert_before(), Plugin::keyframes, List< Edit >::last, List< TYPE >::last, LAST_VIRTUAL_LENGTH, Edit::length, new_plugin(), ListItem< TYPE >::next, Auto::position, PREVIOUS, Edit::silence(), and Edit::startproject.
Referenced by Track::detach_effect(), Track::detach_shared_effects(), insert_plugin(), load(), and Track::optimize().

| Plugin * PluginSet::insert_plugin | ( | char * | title, | |
| int64_t | unit_position, | |||
| int64_t | unit_length, | |||
| int | plugin_type, | |||
| SharedLocation * | shared_location, | |||
| KeyFrame * | default_keyframe, | |||
| int | do_optimize | |||
| ) |
Definition at line 118 of file pluginset.C.
References Edits::create_and_insert_edit(), Autos::default_auto, Plugin::keyframes, optimize(), Plugin::plugin_type, Auto::position, Plugin::shared_location, and Plugin::title.
Referenced by Track::insert_effect(), and load().

Definition at line 69 of file pluginset.h.
Definition at line 70 of file pluginset.h.
Referenced by copy(), copy_from(), load(), and PluginSet().
1.5.5