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

VirtualConsole Class Reference

#include <virtualconsole.h>

Inheritance diagram for VirtualConsole:

VirtualAConsole VirtualVConsole List of all members.

Public Member Functions

 VirtualConsole (RenderEngine *renderengine, CommonRender *commonrender, int data_type)
virtual ~VirtualConsole ()
virtual void create_objects ()
virtual void get_playable_tracks ()
int allocate_input_buffers ()
virtual void new_input_buffer (int ring_buffer)
virtual void delete_input_buffer (int ring_buffer)
void start_playback ()
void reset_attachments ()
void dump ()
void build_virtual_console (int persistent_plugins)
virtual VirtualNodenew_entry_node (Track *track, Module *module, int track_number)
void append_exit_node (VirtualNode *node)
Modulemodule_of (Track *track)
Modulemodule_number (int track_number)
int test_reconfigure (int64_t position, int64_t &length, int &last_playback)
virtual int init_rendering (int duplicate)
int delete_virtual_console ()
virtual int stop_rendering (int duplicate)
virtual int send_last_output_buffer ()

Public Attributes

RenderEnginerenderengine
CommonRendercommonrender
int total_entry_nodes
VirtualNode ** entry_nodes
ArrayList< VirtualNode * > exit_nodes
int data_type
int interrupt
int done
int debug_tree
PlayableTracksplayable_tracks

Detailed Description

Definition at line 14 of file virtualconsole.h.


Constructor & Destructor Documentation

VirtualConsole::VirtualConsole RenderEngine renderengine,
CommonRender commonrender,
int  data_type
 

Definition at line 19 of file virtualconsole.C.

References debug_tree, entry_nodes, playable_tracks, and total_entry_nodes.

VirtualConsole::~VirtualConsole  )  [virtual]
 

Definition at line 33 of file virtualconsole.C.

References delete_virtual_console(), and playable_tracks.


Member Function Documentation

int VirtualConsole::allocate_input_buffers  ) 
 

void VirtualConsole::append_exit_node VirtualNode node  ) 
 

Definition at line 126 of file virtualconsole.C.

References exit_nodes, and VirtualNode::is_exit.

Referenced by VirtualNode::expand_as_module().

void VirtualConsole::build_virtual_console int  persistent_plugins  ) 
 

Definition at line 96 of file virtualconsole.C.

References commonrender, CommonRender::current_position, entry_nodes, VirtualNode::expand(), module_of(), new_entry_node(), playable_tracks, CommonRender::restart_plugins, and total_entry_nodes.

Referenced by create_objects().

void VirtualConsole::create_objects  )  [virtual]
 

Definition at line 41 of file virtualconsole.C.

References build_virtual_console(), done, get_playable_tracks(), interrupt, playable_tracks, and total_entry_nodes.

Referenced by CommonRender::build_virtual_console().

virtual void VirtualConsole::delete_input_buffer int  ring_buffer  )  [inline, virtual]
 

Definition at line 26 of file virtualconsole.h.

int VirtualConsole::delete_virtual_console  ) 
 

Definition at line 265 of file virtualconsole.C.

References entry_nodes, exit_nodes, and total_entry_nodes.

Referenced by ~VirtualConsole().

void VirtualConsole::dump  ) 
 

Definition at line 140 of file virtualconsole.C.

References commonrender, VirtualNode::dump(), Module::dump(), entry_nodes, CommonRender::modules, total_entry_nodes, and CommonRender::total_modules.

void VirtualConsole::get_playable_tracks  )  [virtual]
 

Reimplemented in VirtualAConsole, and VirtualVConsole.

Definition at line 58 of file virtualconsole.C.

Referenced by create_objects().

virtual int VirtualConsole::init_rendering int  duplicate  )  [inline, virtual]
 

Reimplemented in VirtualAConsole.

Definition at line 97 of file virtualconsole.h.

Module * VirtualConsole::module_number int  track_number  ) 
 

Definition at line 72 of file virtualconsole.C.

References commonrender, data_type, Track::data_type, RenderEngine::edl, CommonRender::modules, renderengine, and EDL::tracks.

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

Module * VirtualConsole::module_of Track track  ) 
 

Definition at line 62 of file virtualconsole.C.

References commonrender, CommonRender::modules, CommonRender::total_modules, and Module::track.

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

VirtualNode * VirtualConsole::new_entry_node Track track,
Module module,
int  track_number
[virtual]
 

Reimplemented in VirtualAConsole, and VirtualVConsole.

Definition at line 118 of file virtualconsole.C.

Referenced by build_virtual_console().

virtual void VirtualConsole::new_input_buffer int  ring_buffer  )  [inline, virtual]
 

Definition at line 25 of file virtualconsole.h.

void VirtualConsole::reset_attachments  ) 
 

Definition at line 132 of file virtualconsole.C.

References commonrender, CommonRender::modules, Module::reset_attachments(), and CommonRender::total_modules.

Referenced by VirtualVConsole::process_buffer(), and VirtualAConsole::process_buffer().

virtual int VirtualConsole::send_last_output_buffer  )  [inline, virtual]
 

Reimplemented in VirtualAConsole.

Definition at line 105 of file virtualconsole.h.

void VirtualConsole::start_playback  ) 
 

Definition at line 52 of file virtualconsole.C.

References done, and interrupt.

Referenced by CommonRender::arm_command().

virtual int VirtualConsole::stop_rendering int  duplicate  )  [inline, virtual]
 

Definition at line 103 of file virtualconsole.h.

Referenced by ARender::run().

int VirtualConsole::test_reconfigure int64_t  position,
int64_t &  length,
int &  last_playback
 

Definition at line 152 of file virtualconsole.C.

References RenderEngine::command, commonrender, CommonRender::current_position, data_type, Track::data_type, Track::edit_change_duration(), RenderEngine::edl, TransportCommand::get_direction(), PlayableTracks::is_listed(), PlayableTracks::is_playable(), CommonRender::modules, playable_tracks, Track::plugin_change_duration(), renderengine, Module::test_plugins(), CommonRender::total_modules, and EDL::tracks.

Referenced by VRender::process_buffer(), ARender::process_buffer(), VRender::run(), ARender::run(), and CommonRender::test_reconfigure().


Member Data Documentation

CommonRender* VirtualConsole::commonrender
 

Definition at line 56 of file virtualconsole.h.

Referenced by build_virtual_console(), dump(), VirtualVConsole::get_playable_tracks(), VirtualAConsole::get_playable_tracks(), module_number(), module_of(), reset_attachments(), and test_reconfigure().

int VirtualConsole::data_type
 

Definition at line 76 of file virtualconsole.h.

Referenced by module_number(), and test_reconfigure().

int VirtualConsole::debug_tree
 

Definition at line 84 of file virtualconsole.h.

Referenced by VirtualVConsole::process_buffer(), VirtualVNode::read_data(), VirtualVNode::render_as_module(), VirtualVNode::render_as_plugin(), VirtualVNode::render_fade(), VirtualVNode::render_projector(), and VirtualConsole().

int VirtualConsole::done
 

Definition at line 82 of file virtualconsole.h.

Referenced by create_objects(), and start_playback().

VirtualNode** VirtualConsole::entry_nodes
 

Definition at line 64 of file virtualconsole.h.

Referenced by build_virtual_console(), delete_virtual_console(), dump(), and VirtualConsole().

ArrayList<VirtualNode*> VirtualConsole::exit_nodes
 

Definition at line 68 of file virtualconsole.h.

Referenced by append_exit_node(), delete_virtual_console(), VirtualVConsole::process_buffer(), and VirtualAConsole::process_buffer().

int VirtualConsole::interrupt
 

Definition at line 81 of file virtualconsole.h.

Referenced by create_objects(), VirtualAConsole::process_buffer(), ARender::run(), and start_playback().

PlayableTracks* VirtualConsole::playable_tracks
 

Definition at line 105 of file virtualconsole.h.

Referenced by build_virtual_console(), create_objects(), VirtualVConsole::get_playable_tracks(), VirtualAConsole::get_playable_tracks(), VRender::get_use_vconsole(), test_reconfigure(), VirtualConsole(), and ~VirtualConsole().

RenderEngine* VirtualConsole::renderengine
 

Definition at line 55 of file virtualconsole.h.

Referenced by VirtualVConsole::get_playable_tracks(), VirtualAConsole::get_playable_tracks(), module_number(), VirtualVConsole::new_entry_node(), VirtualAConsole::new_entry_node(), VirtualVConsole::process_buffer(), VirtualAConsole::process_buffer(), VirtualANode::render_as_module(), VirtualANode::render_fade(), VirtualANode::render_pan(), VirtualAConsole::send_last_output_buffer(), and test_reconfigure().

int VirtualConsole::total_entry_nodes
 

Definition at line 61 of file virtualconsole.h.

Referenced by build_virtual_console(), create_objects(), delete_virtual_console(), dump(), VRender::get_use_vconsole(), VirtualVNode::render_projector(), and VirtualConsole().


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