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

PluginSet Class Reference

#include <pluginset.h>

Inheritance diagram for PluginSet:

Edits APluginSet VPluginSet List of all members.

Public Member Functions

 PluginSet (EDL *edl, Track *track)
virtual ~PluginSet ()
virtual void synchronize_params (PluginSet *plugin_set)
virtual PluginSetoperator= (PluginSet &plugins)
virtual Plugincreate_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)
Editinsert_edit_after (Edit *previous_edit)
Editcreate_edit ()
Pluginget_first_plugin ()
int get_number ()
void save (FileXML *file)
void load (FileXML *file, uint32_t load_flags)
void dump ()
int optimize ()
Plugininsert_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)

Public Attributes

int record

Detailed Description

Definition at line 15 of file pluginset.h.

Constructor & Destructor Documentation

PluginSet::PluginSet EDL edl,
Track track

Definition at line 13 of file pluginset.C.

References record.

PluginSet::~PluginSet  )  [virtual]

Definition at line 19 of file pluginset.C.

Member Function Documentation

void PluginSet::clear int64_t  start,
int64_t  end

Reimplemented from Edits.

Definition at line 164 of file pluginset.C.

References Edits::clear(), Autos::clear(), and Plugin::keyframes.

Referenced by clear_recursive(), Track::detach_effect(), Track::detach_shared_effects(), and Tracks::move_effect().

void PluginSet::clear_keyframes int64_t  start,
int64_t  end

Definition at line 196 of file pluginset.C.

References Plugin::clear_keyframes().

void PluginSet::clear_recursive int64_t  start,
int64_t  end

Definition at line 178 of file pluginset.C.

References clear().

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(), Plugin::copy(), record, XMLTag::set_property(), XMLTag::set_title(), and FileXML::tag.

Referenced by save().

void PluginSet::copy_from PluginSet src  ) 

Definition at line 32 of file pluginset.C.

References Plugin::copy_from(), create_edit(), new_plugin(), and record.

Referenced by Track::copy_from(), and operator=().

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(), Plugin::copy_keyframes(), XMLTag::set_title(), and FileXML::tag.

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

virtual Plugin* PluginSet::create_plugin  )  [inline, virtual]

Reimplemented in APluginSet, and VPluginSet.

Definition at line 23 of file pluginset.h.

void PluginSet::dump  ) 

Definition at line 625 of file pluginset.C.

References Plugin::dump().

Plugin * PluginSet::get_first_plugin  ) 

Definition at line 44 of file pluginset.C.

References Plugin::plugin_type.

int PluginSet::get_number  ) 

Definition at line 159 of file pluginset.C.

References Track::plugin_set, and Edits::track.

Referenced by Plugin::identical_location(), and TrackCanvas::plugin_dimensions().

Edit * PluginSet::insert_edit_after Edit previous_edit  )  [virtual]

Reimplemented from Edits.

Definition at line 151 of file pluginset.C.

References Edits::edl.

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

void PluginSet::load FileXML file,
uint32_t  load_flags

Definition at line 446 of file pluginset.C.

References XMLTag::get_property(), insert_plugin(), Edits::length(), Plugin::load(), SharedLocation::load(), FileXML::read_tag(), record, FileXML::tag, and XMLTag::title_is().

Referenced by Track::load().

PluginSet & PluginSet::operator= PluginSet plugins  )  [virtual]

Definition at line 25 of file pluginset.C.

References copy_from().

int PluginSet::optimize  )  [virtual]

Reimplemented from Edits.

Definition at line 504 of file pluginset.C.

References create_edit(), Autos::default_auto, Edits::edl, Plugin::identical(), Plugin::keyframes, Edit::length, new_plugin(), Auto::position, remove(), and Edit::startproject.

Referenced by Track::detach_effect(), Track::detach_shared_effects(), and insert_plugin().

void PluginSet::paste_keyframes int64_t  start,
int64_t  length,
FileXML file,
int  default_only,
Track track

Definition at line 227 of file pluginset.C.

References KeyFrame::data, Autos::default_auto, XMLTag::get_property(), Autos::insert_auto(), Plugin::keyframes, Edit::length, Track::plugin_set, Auto::position, FileXML::read_tag(), FileXML::read_text_until(), Edit::startproject, FileXML::tag, and XMLTag::title_is().

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 Edit::length, and Edit::startproject.

void PluginSet::save FileXML file  ) 

Definition at line 441 of file pluginset.C.

References copy(), and Edits::length().

void PluginSet::shift_effects int64_t  start,
int64_t  length

Definition at line 393 of file pluginset.C.

References Autos::default_auto, Plugin::keyframes, Edit::length, Autos::paste_silence(), Auto::position, and Edit::startproject.

void PluginSet::shift_effects_recursive int64_t  position,
int64_t  length

Reimplemented from Edits.

Definition at line 189 of file pluginset.C.

void PluginSet::shift_keyframes_recursive int64_t  position,
int64_t  length

Reimplemented from Edits.

Definition at line 184 of file pluginset.C.

void PluginSet::synchronize_params PluginSet plugin_set  )  [virtual]

Definition at line 108 of file pluginset.C.

References Plugin::synchronize_params().

Member Data Documentation

PluginAutos* PluginSet::automation

Definition at line 69 of file pluginset.h.

int PluginSet::record

Definition at line 70 of file pluginset.h.

Referenced by copy(), copy_from(), load(), and PluginSet().

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