PluginSet Class Reference

#include <pluginset.h>

Inherits Edits.

Inherited by APluginSet, and VPluginSet.

Collaboration diagram for PluginSet:

Collaboration graph
[legend]

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)

Data Fields

PluginAutosautomation
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.

References List< Edit >::last.


Member Function Documentation

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

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

Definition at line 25 of file pluginset.C.

References copy_from().

Here is the call graph for this function:

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

Reimplemented in APluginSet, and VPluginSet.

Definition at line 23 of file pluginset.h.

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

Here is the call graph for this function:

void PluginSet::shift_keyframes_recursive ( int64_t  position,
int64_t  length 
) [virtual]

Reimplemented from Edits.

Definition at line 184 of file pluginset.C.

void PluginSet::shift_effects_recursive ( int64_t  position,
int64_t  length 
) [virtual]

Reimplemented from Edits.

Definition at line 189 of file pluginset.C.

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

void PluginSet::paste_keyframes ( int64_t  start,
int64_t  length,
FileXML file,
int  default_only,
Track track 
) [static]

int64_t PluginSet::plugin_change_duration ( int64_t  input_position,
int64_t  input_length,
int  reverse 
)

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

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

Reimplemented from Edits.

Definition at line 151 of file pluginset.C.

References Edits::edl, and List< TYPE >::insert_after().

Here is the call graph for this function:

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

Here is the call graph for this function:

void PluginSet::save ( FileXML file  ) 

Definition at line 441 of file pluginset.C.

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

Here is the call graph for this function:

void PluginSet::load ( FileXML file,
uint32_t  load_flags 
)

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]

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

Here is the call graph for this function:


Field Documentation

Definition at line 69 of file pluginset.h.

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 Mon Apr 28 14:36:46 2008 for Cinelerra by  doxygen 1.5.5