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

Module Class Reference

#include <module.h>

Inheritance diagram for Module:

AModule VModule List of all members.

Public Member Functions

 Module (RenderEngine *renderengine, CommonRender *commonrender, PluginArray *plugin_array, Track *track)
 Module ()
virtual ~Module ()
virtual void create_objects ()
void create_new_attachments ()
void swap_attachments ()
void reset_attachments ()
virtual AttachmentPointnew_attachment (Plugin *plugin)
virtual int get_buffer_size ()
int test_plugins ()
AttachmentPointattachment_of (Plugin *plugin)
AttachmentPointget_attachment (int number)
void dump ()
int render_init ()
void update_transition (int64_t current_position, int direction)
EDLget_edl ()

Public Attributes

CICachecache
EDLedl
CommonRendercommonrender
RenderEnginerenderengine
PluginArrayplugin_array
Tracktrack
int data_type
Plugintransition
PluginServertransition_server
AttachmentPoint ** attachments
int total_attachments
AttachmentPoint ** new_attachments
int new_total_attachments

Detailed Description

Definition at line 22 of file module.h.


Constructor & Destructor Documentation

Module::Module RenderEngine renderengine,
CommonRender commonrender,
PluginArray plugin_array,
Track track
 

Definition at line 21 of file module.C.

References attachments, new_attachments, new_total_attachments, total_attachments, transition, and transition_server.

Module::Module  )  [inline]
 

Definition at line 29 of file module.h.

Module::~Module  )  [virtual]
 

Definition at line 38 of file module.C.

References attachments, PluginServer::close_plugin(), Track::plugin_set, track, and transition_server.


Member Function Documentation

AttachmentPoint * Module::attachment_of Plugin plugin  ) 
 

Definition at line 151 of file module.C.

References attachments, AttachmentPoint::plugin, and total_attachments.

Referenced by VirtualNode::expand_as_plugin().

void Module::create_new_attachments  ) 
 

Definition at line 74 of file module.C.

References RenderEngine::command, commonrender, CommonRender::current_position, Track::get_current_plugin(), TransportCommand::get_direction(), new_attachment(), new_attachments, new_total_attachments, Plugin::on, Track::plugin_set, Plugin::plugin_type, renderengine, and track.

Referenced by create_objects().

void Module::create_objects  )  [virtual]
 

Reimplemented in AModule, and VModule.

Definition at line 60 of file module.C.

References create_new_attachments(), and swap_attachments().

Referenced by VPluginArray::create_modules(), CommonRender::create_modules(), APluginArray::create_modules(), VModule::create_objects(), and AModule::create_objects().

void Module::dump  ) 
 

Definition at line 281 of file module.C.

References attachments, AttachmentPoint::dump(), Track::title, total_attachments, and track.

Referenced by VirtualConsole::dump().

AttachmentPoint * Module::get_attachment int  number  ) 
 

Definition at line 163 of file module.C.

References attachments, and total_attachments.

Referenced by VirtualNode::attach_virtual_plugin(), and VirtualNode::expand_as_plugin().

virtual int Module::get_buffer_size  )  [inline, virtual]
 

Reimplemented in AModule, and VModule.

Definition at line 41 of file module.h.

Referenced by update_transition().

EDL * Module::get_edl  ) 
 

Definition at line 66 of file module.C.

References edl, RenderEngine::edl, and renderengine.

Referenced by VModule::import_frame(), VModule::render(), AModule::render(), and update_transition().

virtual AttachmentPoint* Module::new_attachment Plugin plugin  )  [inline, virtual]
 

Reimplemented in AModule, and VModule.

Definition at line 40 of file module.h.

Referenced by create_new_attachments().

int Module::render_init  ) 
 

Definition at line 140 of file module.C.

References attachments, AttachmentPoint::render_init(), and total_attachments.

Referenced by VPluginArray::create_modules(), APluginArray::create_modules(), and CommonRender::start_plugins().

void Module::reset_attachments  ) 
 

Definition at line 171 of file module.C.

References attachments, AttachmentPoint::reset_status(), and total_attachments.

Referenced by VirtualConsole::reset_attachments().

void Module::swap_attachments  ) 
 

Definition at line 105 of file module.C.

References attachments, AttachmentPoint::identical(), new_attachments, new_total_attachments, and total_attachments.

Referenced by create_objects().

int Module::test_plugins  ) 
 

Definition at line 184 of file module.C.

References attachments, RenderEngine::command, commonrender, CommonRender::current_position, Track::get_current_plugin(), TransportCommand::get_direction(), Plugin::identical(), Plugin::on, AttachmentPoint::plugin, Track::plugin_set, Plugin::plugin_type, renderengine, total_attachments, and track.

Referenced by VirtualConsole::test_reconfigure().

void Module::update_transition int64_t  current_position,
int  direction
 

Definition at line 215 of file module.C.

References PluginServer::close_plugin(), RenderEngine::command, Track::data_type, get_buffer_size(), Track::get_current_transition(), get_edl(), PluginServer::init_realtime(), PluginArray::mwindow, PluginServer::open_plugin(), plugin_array, MWindow::preferences, RenderEngine::preferences, TransportCommand::realtime, renderengine, PluginArray::scan_plugindb(), RenderEngine::scan_plugindb(), track, transition, and transition_server.

Referenced by VModule::render(), and AModule::render().


Member Data Documentation

AttachmentPoint** Module::attachments
 

Definition at line 78 of file module.h.

Referenced by attachment_of(), dump(), get_attachment(), Module(), render_init(), reset_attachments(), swap_attachments(), test_plugins(), and ~Module().

CICache* Module::cache
 

Definition at line 56 of file module.h.

Referenced by VPluginArray::create_modules(), APluginArray::create_modules(), VModule::get_cache(), and AModule::get_cache().

CommonRender* Module::commonrender
 

Definition at line 60 of file module.h.

Referenced by create_new_attachments(), AModule::create_objects(), VModule::import_frame(), VModule::render(), and test_plugins().

int Module::data_type
 

Definition at line 67 of file module.h.

Referenced by AModule::AModule(), and VModule::VModule().

EDL* Module::edl
 

Definition at line 58 of file module.h.

Referenced by VPluginArray::create_modules(), APluginArray::create_modules(), get_edl(), and MTimeBar::select_label().

AttachmentPoint** Module::new_attachments
 

Definition at line 82 of file module.h.

Referenced by create_new_attachments(), Module(), and swap_attachments().

int Module::new_total_attachments
 

Definition at line 83 of file module.h.

Referenced by create_new_attachments(), Module(), and swap_attachments().

PluginArray* Module::plugin_array
 

Definition at line 64 of file module.h.

Referenced by AModule::get_buffer_size(), VModule::import_frame(), and update_transition().

RenderEngine* Module::renderengine
 

Definition at line 62 of file module.h.

Referenced by create_new_attachments(), AModule::get_buffer_size(), VModule::get_cache(), AModule::get_cache(), get_edl(), VModule::import_frame(), VModule::new_attachment(), AModule::new_attachment(), test_plugins(), and update_transition().

int Module::total_attachments
 

Definition at line 79 of file module.h.

Referenced by attachment_of(), dump(), get_attachment(), Module(), render_init(), reset_attachments(), swap_attachments(), and test_plugins().

Track* Module::track
 

Definition at line 65 of file module.h.

Referenced by VirtualNode::attach_virtual_module(), create_new_attachments(), dump(), VModule::import_frame(), VirtualConsole::module_of(), VModule::render(), AModule::render(), test_plugins(), update_transition(), and ~Module().

Plugin* Module::transition
 

Definition at line 70 of file module.h.

Referenced by Module(), VModule::render(), AModule::render(), and update_transition().

PluginServer* Module::transition_server
 

Definition at line 72 of file module.h.

Referenced by Module(), VModule::render(), AModule::render(), update_transition(), and ~Module().


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