VirtualConsole Class Reference

#include <virtualconsole.h>

Inherited by VirtualAConsole, and VirtualVConsole.

Collaboration diagram for VirtualConsole:

Collaboration graph
[legend]

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

Data Fields

RenderEnginerenderengine
CommonRendercommonrender
int total_exit_nodes
int current_exit_node
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_exit_nodes.

VirtualConsole::~VirtualConsole (  )  [virtual]

Definition at line 33 of file virtualconsole.C.

References delete_virtual_console(), and playable_tracks.

Here is the call graph for this function:


Member Function Documentation

void VirtualConsole::create_objects (  )  [virtual]

Definition at line 41 of file virtualconsole.C.

References build_virtual_console(), done, get_playable_tracks(), interrupt, playable_tracks, ArrayList< TYPE >::total, and total_exit_nodes.

Referenced by CommonRender::build_virtual_console().

Here is the call graph for this function:

void VirtualConsole::get_playable_tracks (  )  [virtual]

Reimplemented in VirtualAConsole, and VirtualVConsole.

Definition at line 58 of file virtualconsole.C.

Referenced by create_objects().

int VirtualConsole::allocate_input_buffers (  ) 

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

Definition at line 25 of file virtualconsole.h.

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

Definition at line 26 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().

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

Here is the call graph for this function:

void VirtualConsole::dump (  ) 

Definition at line 140 of file virtualconsole.C.

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

Here is the call graph for this function:

void VirtualConsole::build_virtual_console ( int  persistent_plugins  ) 

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

void VirtualConsole::append_exit_node ( VirtualNode node  ) 

Definition at line 126 of file virtualconsole.C.

References ArrayList< TYPE >::append(), exit_nodes, and VirtualNode::is_exit.

Referenced by VirtualNode::expand_as_module().

Here is the call graph for this function:

Module * VirtualConsole::module_of ( Track track  ) 

Module * VirtualConsole::module_number ( int  track_number  ) 

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

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

Reimplemented in VirtualAConsole.

Definition at line 99 of file virtualconsole.h.

int VirtualConsole::delete_virtual_console (  ) 

Definition at line 265 of file virtualconsole.C.

References entry_nodes, exit_nodes, ArrayList< TYPE >::remove_all(), and total_exit_nodes.

Referenced by ~VirtualConsole().

Here is the call graph for this function:

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

Definition at line 106 of file virtualconsole.h.

Referenced by ARender::run().

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

Reimplemented in VirtualAConsole.

Definition at line 108 of file virtualconsole.h.


Field Documentation

Definition at line 78 of file virtualconsole.h.

Referenced by module_number(), and test_reconfigure().

Definition at line 84 of file virtualconsole.h.

Referenced by create_objects(), and start_playback().


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

Generated on Mon Apr 28 14:49:31 2008 for Cinelerra by  doxygen 1.5.5