Plugin Class Reference

#include <plugin.h>

Inherits Edit.

Inherited by APlugin, Transition, and VPlugin.

Collaboration diagram for Plugin:

Collaboration graph
[legend]

Public Member Functions

 Plugin (EDL *edl, Track *track, char *title)
 Plugin (EDL *edl, PluginSet *plugin_set, char *title)
virtual ~Plugin ()
virtual Pluginoperator= (Plugin &edit)
virtual Editoperator= (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 ()
KeyFrameget_prev_keyframe (int64_t position, int direction)
KeyFrameget_next_keyframe (int64_t position, int direction)
void get_shared_location (SharedLocation *result)
virtual KeyFrameget_keyframe ()
int silence ()
void calculate_title (char *string, int use_nudge)
Trackget_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
PluginSetplugin_set
KeyFrameskeyframes
SharedLocation shared_location

Detailed Description

Definition at line 24 of file plugin.h.


Constructor & Destructor Documentation

Plugin::Plugin ( EDL edl,
Track track,
char *  title 
)

Definition at line 20 of file plugin.C.

References Autos::create_objects(), in, keyframes, on, out, plugin_set, plugin_type, and show.

Here is the call graph for this function:

Plugin::Plugin ( EDL edl,
PluginSet plugin_set,
char *  title 
)

Definition at line 38 of file plugin.C.

References Autos::create_objects(), in, keyframes, on, out, plugin_type, show, Edits::track, and Edit::track.

Here is the call graph for this function:

Plugin::~Plugin (  )  [virtual]

Definition at line 53 of file plugin.C.

References keyframes, and List< TYPE >::last.


Member Function Documentation

Plugin & Plugin::operator= ( Plugin edit  )  [virtual]

Reimplemented in Transition.

Definition at line 65 of file plugin.C.

References copy_from().

Here is the call graph for this function:

Edit & Plugin::operator= ( Edit edit  )  [virtual]

Reimplemented from Edit.

Reimplemented in Transition.

Definition at line 59 of file plugin.C.

References copy_from().

Here is the call graph for this function:

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.

Here is the call graph for this function:

int Plugin::is_synthesis ( RenderEngine renderengine,
int64_t  position,
int  direction 
)

int Plugin::operator== ( Plugin that  )  [virtual]

Reimplemented in Transition.

Definition at line 71 of file plugin.C.

References identical().

Here is the call graph for this function:

int Plugin::operator== ( Edit that  )  [virtual]

Reimplemented from Edit.

Reimplemented in Transition.

Definition at line 76 of file plugin.C.

References identical().

Here is the call graph for this function:

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

Here is the call graph for this function:

int Plugin::identical ( Plugin that  )  [virtual]

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

Here is the call graph for this function:

void Plugin::synchronize_params ( Edit edit  )  [virtual]

Reimplemented from Edit.

Definition at line 130 of file plugin.C.

References copy_keyframes(), in, on, out, show, and title.

Here is the call graph for this function:

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 
)

Definition at line 270 of file plugin.C.

Referenced by PluginDialogThread::run().

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

Here is the call graph for this function:

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.

Here is the call graph for this function:

void Plugin::clear_keyframes ( int64_t  start,
int64_t  end 
)

Definition at line 89 of file plugin.C.

References Autos::clear(), and keyframes.

Here is the call graph for this function:

void Plugin::copy ( int64_t  start,
int64_t  end,
FileXML file 
)

void Plugin::paste ( FileXML file  ) 

Definition at line 575 of file plugin.C.

References XMLTag::get_property(), Edit::length, and FileXML::tag.

Here is the call graph for this function:

void Plugin::load ( FileXML file  ) 

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

Here is the call graph for this function:

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.

Here is the call graph for this function:

KeyFrame * Plugin::get_prev_keyframe ( int64_t  position,
int  direction 
)

KeyFrame * Plugin::get_next_keyframe ( int64_t  position,
int  direction 
)

void Plugin::get_shared_location ( SharedLocation result  ) 

KeyFrame * Plugin::get_keyframe (  )  [virtual]

int Plugin::silence (  )  [virtual]

Reimplemented from Edit.

Definition at line 81 of file plugin.C.

References plugin_type.

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

Here is the call graph for this function:

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.

Here is the call graph for this function:

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

Here is the call graph for this function:


Field Documentation

char Plugin::title[BCTEXTLEN]

Definition at line 113 of file plugin.h.

Referenced by copy(), copy_from(), PluginPopupIn::handle_event(), load(), Plugin(), and synchronize_params().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:35:58 2008 for Cinelerra by  doxygen 1.5.5