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

Plugin Class Reference

#include <plugin.h>

Inheritance diagram for Plugin:

Edit APlugin Transition VPlugin List of all members.

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)

Public Attributes

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.

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.

Plugin::~Plugin  )  [virtual]
 

Definition at line 53 of file plugin.C.

References keyframes.


Member Function Documentation

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 TrackCanvas::draw_plugins(), and PluginDialogThread::start_window().

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::clear_keyframes int64_t  start,
int64_t  end
 

Definition at line 89 of file plugin.C.

References Autos::clear(), and keyframes.

Referenced by PluginSet::clear_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.

Referenced by PluginSet::copy().

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

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::copy_keyframes Plugin plugin  ) 
 

Definition at line 116 of file plugin.C.

References Autos::copy_from(), and keyframes.

Referenced by copy_from(), PluginSet::copy_keyframes(), and synchronize_params().

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.

Referenced by PluginSet::dump().

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.

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

KeyFrame * Plugin::get_next_keyframe int64_t  position,
int  direction
 

Definition at line 318 of file plugin.C.

References Autos::default_auto, Edit::edl, LocalSession::get_selectionstart(), keyframes, EDL::local_session, Auto::position, Track::to_units(), and Edit::track.

Referenced by PluginServer::get_next_keyframe().

KeyFrame * Plugin::get_prev_keyframe int64_t  position,
int  direction
 

Definition at line 281 of file plugin.C.

References Autos::default_auto, Edit::edl, LocalSession::get_selectionstart(), keyframes, EDL::local_session, Auto::position, Track::to_units(), and Edit::track.

Referenced by get_keyframe(), and PluginServer::get_prev_keyframe().

void Plugin::get_shared_location SharedLocation result  ) 
 

Definition at line 537 of file plugin.C.

References Edit::edl, SharedLocation::module, Tracks::number_of(), SharedLocation::plugin, Track::plugin_set, plugin_set, plugin_type, shared_location, Edit::track, and EDL::tracks.

Track * Plugin::get_shared_track  ) 
 

Definition at line 550 of file plugin.C.

References Edit::edl, SharedLocation::module, shared_location, and EDL::tracks.

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.

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

void Plugin::load FileXML file  ) 
 

Definition at line 470 of file plugin.C.

References Autos::default_auto, Edit::edl, XMLTag::get_property(), in, keyframes, 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().

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

Reimplemented from Edit.

Reimplemented in Transition.

Definition at line 59 of file plugin.C.

References copy_from().

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

Reimplemented in Transition.

Definition at line 65 of file plugin.C.

References copy_from().

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

Reimplemented from Edit.

Reimplemented in Transition.

Definition at line 76 of file plugin.C.

References identical().

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

Reimplemented in Transition.

Definition at line 71 of file plugin.C.

References identical().

void Plugin::paste FileXML file  ) 
 

Definition at line 575 of file plugin.C.

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

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

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::shift_keyframes int64_t  position  )  [virtual]
 

Reimplemented from Edit.

Definition at line 141 of file plugin.C.

References keyframes, and Auto::position.

Referenced by shift().

int Plugin::silence  )  [virtual]
 

Reimplemented from Edit.

Definition at line 81 of file plugin.C.

References plugin_type.

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.

Referenced by PluginSet::synchronize_params().


Member Data Documentation

int Plugin::in
 

Definition at line 113 of file plugin.h.

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

KeyFrames* Plugin::keyframes
 

Definition at line 124 of file plugin.h.

Referenced by PluginSet::clear(), clear_keyframes(), copy(), copy_keyframes(), TrackCanvas::do_plugin_autos(), 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(), PluginSet::shift_effects(), shift_keyframes(), TrackCanvas::update_drag_pluginauto(), and ~Plugin().

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(), PluginPopupOn::handle_event(), identical(), load(), Transition::load_xml(), Plugin(), Track::plugin_used(), 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(), and PluginPopup::update().

int Plugin::out
 

Definition at line 113 of file plugin.h.

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

PluginSet* Plugin::plugin_set
 

Definition at line 115 of file plugin.h.

Referenced by TrackCanvas::drag_motion(), TrackCanvas::drag_stop(), get_shared_location(), PluginPopupDown::handle_event(), PluginPopupUp::handle_event(), identical_location(), Tracks::move_effect(), Plugin(), and TrackCanvas::plugin_dimensions().

int Plugin::plugin_type
 

Definition at line 111 of file plugin.h.

Referenced by VirtualNode::attach_virtual_plugin(), calculate_title(), Track::change_modules(), Track::change_plugins(), copy(), copy_from(), Module::create_new_attachments(), Track::detach_shared_effects(), TrackCanvas::do_plugins(), TrackCanvas::draw_plugins(), dump(), equivalent_output(), VirtualNode::expand_as_module(), VirtualNode::expand_as_plugin(), PluginSet::get_first_plugin(), get_shared_location(), EDL::get_shared_plugins(), identical(), PluginSet::insert_plugin(), is_synthesis(), Tracks::move_effect(), Plugin(), Track::plugin_used(), silence(), PluginDialogThread::start_window(), MWindow::test_plugins(), and Module::test_plugins().

SharedLocation Plugin::shared_location
 

Definition at line 127 of file plugin.h.

Referenced by VirtualNode::attach_virtual_module(), VirtualNode::attach_virtual_plugin(), calculate_title(), Track::change_modules(), Track::change_plugins(), copy(), copy_from(), Track::detach_shared_effects(), 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().

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(), and PluginPopup::update().

char Plugin::title[BCTEXTLEN]
 

Definition at line 110 of file plugin.h.

Referenced by AttachmentPoint::AttachmentPoint(), calculate_title(), copy(), copy_from(), Edit::copy_from(), PluginDialog::create_objects(), TrackCanvas::do_plugins(), TrackCanvas::draw_transitions(), VirtualNode::dump(), Transition::dump(), dump(), equivalent_output(), identical(), PluginSet::insert_plugin(), is_synthesis(), Transition::load_xml(), Transition::save_xml(), MWindow::show_plugin(), synchronize_params(), MWindow::test_plugins(), and MWindow::update_plugin_states().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:21 2006 for Cinelerra-svn by  doxygen 1.4.4