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

VirtualNode Class Reference

#include <virtualnode.h>

Inheritance diagram for VirtualNode:

VirtualANode VirtualVNode List of all members.

Public Member Functions

 VirtualNode (RenderEngine *renderengine, VirtualConsole *vconsole, Module *real_module, Plugin *real_plugin, Track *track, VirtualNode *parent_node)
virtual ~VirtualNode ()
void dump (int indent)
int expand (int persistent_plugins, int64_t current_position)
virtual int create_buffer_ptrs ()
int attach_virtual_module (Plugin *plugin, int plugin_number, int duplicate, int64_t current_position)
int attach_virtual_plugin (Plugin *plugin, int plugin_number, int duplicate, int64_t current_position)
virtual VirtualNodecreate_module (Plugin *real_plugin, Module *real_module, Track *track)
virtual VirtualNodecreate_plugin (Plugin *real_plugin)
VirtualNodeget_previous_plugin (VirtualNode *current_plugin)
void get_mute_fragment (int64_t input_position, int &mute_constant, int &fragment_len, Autos *autos, int direction, int use_nudge)

Public Attributes

ArrayList< VirtualNode * > subnodes
AttachmentPointattachment
VirtualConsolevconsole
VirtualNodeparent_node
Modulereal_module
Pluginreal_plugin
Tracktrack
RenderEnginerenderengine
int input_is_master
int output_is_master
int ring_buffers
int64_t buffer_size
int64_t fragment_size
int plugin_type
int render_count
int waiting_real_plugin
int plugin_buffer_number

Protected Attributes

FloatAutosplugin_autos
FloatAutoplugin_auto_before
FloatAutoplugin_auto_after
Autocurrent_auto
double slope_value
double slope_start
double slope_end
double slope_position
double slope
double value

Private Member Functions

int sort_as_module (ArrayList< VirtualNode * > *render_list, int &result, int &total_result)
int sort_as_plugin (ArrayList< VirtualNode * > *render_list, int &result, int &total_result)
int expand_as_module (int duplicate, int64_t current_position)
int expand_as_plugin (int duplicate)

Private Attributes

int is_exit

Friends

class VirtualConsole

Detailed Description

Definition at line 22 of file virtualnode.h.


Constructor & Destructor Documentation

VirtualNode::VirtualNode RenderEngine renderengine,
VirtualConsole vconsole,
Module real_module,
Plugin real_plugin,
Track track,
VirtualNode parent_node
 

Definition at line 23 of file virtualnode.C.

References attachment, is_exit, plugin_auto_after, plugin_auto_before, plugin_autos, plugin_buffer_number, plugin_type, render_count, and waiting_real_plugin.

VirtualNode::~VirtualNode  )  [virtual]
 

Definition at line 47 of file virtualnode.C.

References subnodes.


Member Function Documentation

int VirtualNode::attach_virtual_module Plugin plugin,
int  plugin_number,
int  duplicate,
int64_t  current_position
 

Definition at line 206 of file virtualnode.C.

References create_module(), expand(), SharedLocation::module, VirtualConsole::module_number(), Plugin::on, real_module, Plugin::shared_location, subnodes, Module::track, track, and vconsole.

Referenced by expand_as_module().

int VirtualNode::attach_virtual_plugin Plugin plugin,
int  plugin_number,
int  duplicate,
int64_t  current_position
 

Definition at line 237 of file virtualnode.C.

References attachment, create_plugin(), expand(), Module::get_attachment(), SharedLocation::module, VirtualConsole::module_number(), Plugin::on, AttachmentPoint::plugin, SharedLocation::plugin, Plugin::plugin_type, real_module, real_plugin, Plugin::shared_location, subnodes, and vconsole.

Referenced by expand_as_module().

virtual int VirtualNode::create_buffer_ptrs  )  [inline, virtual]
 

Definition at line 41 of file virtualnode.h.

virtual VirtualNode* VirtualNode::create_module Plugin real_plugin,
Module real_module,
Track track
[inline, virtual]
 

Reimplemented in VirtualANode, and VirtualVNode.

Definition at line 52 of file virtualnode.h.

Referenced by attach_virtual_module().

virtual VirtualNode* VirtualNode::create_plugin Plugin real_plugin  )  [inline, virtual]
 

Reimplemented in VirtualANode, and VirtualVNode.

Definition at line 55 of file virtualnode.h.

Referenced by attach_virtual_plugin().

void VirtualNode::dump int  indent  ) 
 

Definition at line 55 of file virtualnode.C.

References is_exit, PRINT_INDENT, real_module, real_plugin, subnodes, Plugin::title, Track::title, and track.

Referenced by VirtualConsole::dump().

int VirtualNode::expand int  persistent_plugins,
int64_t  current_position
 

Definition at line 78 of file virtualnode.C.

References expand_as_module(), expand_as_plugin(), real_module, and real_plugin.

Referenced by attach_virtual_module(), attach_virtual_plugin(), and VirtualConsole::build_virtual_console().

int VirtualNode::expand_as_module int  duplicate,
int64_t  current_position
[private]
 

Definition at line 96 of file virtualnode.C.

References VirtualConsole::append_exit_node(), attach_virtual_module(), attach_virtual_plugin(), RenderEngine::command, Track::get_current_plugin(), TransportCommand::get_direction(), Plugin::on, parent_node, Track::plugin_set, Plugin::plugin_type, plugin_type, real_plugin, renderengine, track, and vconsole.

Referenced by expand().

int VirtualNode::expand_as_plugin int  duplicate  )  [private]
 

Definition at line 143 of file virtualnode.C.

References AttachmentPoint::attach_virtual_plugin(), attachment, Module::attachment_of(), Module::get_attachment(), SharedLocation::module, VirtualConsole::module_number(), VirtualConsole::module_of(), Plugin::on, AttachmentPoint::plugin, SharedLocation::plugin, plugin_buffer_number, Plugin::plugin_type, plugin_type, real_module, real_plugin, Plugin::shared_location, track, and vconsole.

Referenced by expand().

void VirtualNode::get_mute_fragment int64_t  input_position,
int &  mute_constant,
int &  fragment_len,
Autos autos,
int  direction,
int  use_nudge
 

Definition at line 292 of file virtualnode.C.

References Autos::get_next_auto(), Autos::get_prev_auto(), Track::nudge, Auto::position, and track.

Referenced by VirtualVNode::render_as_module(), and VirtualANode::render_as_module().

VirtualNode * VirtualNode::get_previous_plugin VirtualNode current_plugin  ) 
 

Definition at line 274 of file virtualnode.C.

References subnodes.

Referenced by VirtualVNode::read_data(), and VirtualANode::read_data().

int VirtualNode::sort_as_module ArrayList< VirtualNode * > *  render_list,
int &  result,
int &  total_result
[private]
 

int VirtualNode::sort_as_plugin ArrayList< VirtualNode * > *  render_list,
int &  result,
int &  total_result
[private]
 


Friends And Related Function Documentation

friend class VirtualConsole [friend]
 

Definition at line 32 of file virtualnode.h.


Member Data Documentation

AttachmentPoint* VirtualNode::attachment
 

Definition at line 66 of file virtualnode.h.

Referenced by attach_virtual_plugin(), expand_as_plugin(), VirtualVNode::render_as_plugin(), VirtualANode::render_as_plugin(), and VirtualNode().

int64_t VirtualNode::buffer_size
 

Definition at line 86 of file virtualnode.h.

Auto* VirtualNode::current_auto [protected]
 

Definition at line 133 of file virtualnode.h.

int64_t VirtualNode::fragment_size
 

Definition at line 87 of file virtualnode.h.

int VirtualNode::input_is_master
 

Definition at line 83 of file virtualnode.h.

int VirtualNode::is_exit [private]
 

Definition at line 147 of file virtualnode.h.

Referenced by VirtualConsole::append_exit_node(), dump(), and VirtualNode().

int VirtualNode::output_is_master
 

Definition at line 84 of file virtualnode.h.

VirtualNode* VirtualNode::parent_node
 

Definition at line 70 of file virtualnode.h.

Referenced by expand_as_module(), VirtualVNode::read_data(), and VirtualANode::read_data().

FloatAuto * VirtualNode::plugin_auto_after [protected]
 

Definition at line 130 of file virtualnode.h.

Referenced by VirtualNode().

FloatAuto* VirtualNode::plugin_auto_before [protected]
 

Definition at line 130 of file virtualnode.h.

Referenced by VirtualNode().

FloatAutos* VirtualNode::plugin_autos [protected]
 

Definition at line 129 of file virtualnode.h.

Referenced by VirtualNode().

int VirtualNode::plugin_buffer_number
 

Definition at line 93 of file virtualnode.h.

Referenced by expand_as_plugin(), VirtualVNode::render_as_plugin(), VirtualANode::render_as_plugin(), and VirtualNode().

int VirtualNode::plugin_type
 

Definition at line 88 of file virtualnode.h.

Referenced by expand_as_module(), expand_as_plugin(), and VirtualNode().

Module* VirtualNode::real_module
 

Definition at line 73 of file virtualnode.h.

Referenced by attach_virtual_module(), attach_virtual_plugin(), dump(), expand(), expand_as_plugin(), VirtualVNode::read_data(), VirtualANode::read_data(), VirtualVNode::render(), VirtualANode::render(), and VirtualANode::render_as_module().

Plugin* VirtualNode::real_plugin
 

Definition at line 75 of file virtualnode.h.

Referenced by attach_virtual_plugin(), dump(), expand(), expand_as_module(), expand_as_plugin(), VirtualVNode::render(), VirtualANode::render(), VirtualVNode::render_as_plugin(), and VirtualANode::render_as_plugin().

int VirtualNode::render_count
 

Definition at line 89 of file virtualnode.h.

Referenced by VirtualNode().

RenderEngine* VirtualNode::renderengine
 

Definition at line 79 of file virtualnode.h.

Referenced by VirtualVNode::create_module(), VirtualANode::create_module(), VirtualVNode::create_plugin(), VirtualANode::create_plugin(), expand_as_module(), VirtualVNode::read_data(), VirtualANode::read_data(), VirtualVNode::render_as_module(), VirtualANode::render_as_module(), VirtualVNode::render_fade(), and VirtualVNode::render_projector().

int VirtualNode::ring_buffers
 

Definition at line 85 of file virtualnode.h.

double VirtualNode::slope [protected]
 

Definition at line 138 of file virtualnode.h.

Referenced by VirtualVNode::render_fade(), and VirtualANode::render_pan().

double VirtualNode::slope_end [protected]
 

Definition at line 136 of file virtualnode.h.

double VirtualNode::slope_position [protected]
 

Definition at line 137 of file virtualnode.h.

double VirtualNode::slope_start [protected]
 

Definition at line 135 of file virtualnode.h.

double VirtualNode::slope_value [protected]
 

Definition at line 134 of file virtualnode.h.

ArrayList<VirtualNode*> VirtualNode::subnodes
 

Definition at line 64 of file virtualnode.h.

Referenced by attach_virtual_module(), attach_virtual_plugin(), dump(), get_previous_plugin(), VirtualVNode::render_as_module(), VirtualANode::render_as_module(), and ~VirtualNode().

Track* VirtualNode::track
 

Definition at line 78 of file virtualnode.h.

Referenced by attach_virtual_module(), VirtualVNode::create_plugin(), VirtualANode::create_plugin(), dump(), expand_as_module(), expand_as_plugin(), get_mute_fragment(), VirtualVConsole::process_buffer(), VirtualAConsole::process_buffer(), VirtualVNode::read_data(), VirtualVNode::render_as_module(), VirtualANode::render_as_module(), VirtualVNode::render_as_plugin(), VirtualVNode::render_fade(), VirtualANode::render_fade(), VirtualANode::render_pan(), and VirtualVNode::render_projector().

double VirtualNode::value [protected]
 

Definition at line 139 of file virtualnode.h.

Referenced by VirtualANode::render_fade(), and VirtualANode::render_pan().

VirtualConsole* VirtualNode::vconsole
 

Definition at line 68 of file virtualnode.h.

Referenced by attach_virtual_module(), attach_virtual_plugin(), VirtualVNode::create_module(), VirtualANode::create_module(), VirtualVNode::create_plugin(), VirtualANode::create_plugin(), expand_as_module(), expand_as_plugin(), VirtualVNode::read_data(), VirtualVNode::render(), VirtualANode::render(), VirtualVNode::render_as_module(), VirtualANode::render_as_module(), VirtualVNode::render_as_plugin(), VirtualVNode::render_fade(), VirtualANode::render_fade(), VirtualANode::render_pan(), and VirtualVNode::render_projector().

int VirtualNode::waiting_real_plugin
 

Definition at line 90 of file virtualnode.h.

Referenced by VirtualNode().


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