VirtualNode Class Reference

#include <virtualnode.h>

Inherited by VirtualANode, and VirtualVNode.

Collaboration diagram for VirtualNode:

Collaboration graph
[legend]

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)

Data Fields

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 
)

VirtualNode::~VirtualNode (  )  [virtual]

Definition at line 47 of file virtualnode.C.

References ArrayList< TYPE >::remove_all_objects(), and subnodes.

Here is the call graph for this function:


Member Function Documentation

void VirtualNode::dump ( int  indent  ) 

Definition at line 55 of file virtualnode.C.

References dump(), is_exit, PRINT_INDENT, real_module, real_plugin, subnodes, Plugin::title, Track::title, ArrayList< TYPE >::total, track, and ArrayList< TYPE >::values.

Referenced by dump().

Here is the call graph for this function:

int VirtualNode::expand ( int  persistent_plugins,
int64_t  current_position 
)

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

Here is the call graph for this function:

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

Definition at line 41 of file virtualnode.h.

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

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

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

VirtualNode * VirtualNode::get_previous_plugin ( VirtualNode current_plugin  ) 

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

Here is the call graph for this function:

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]

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

int VirtualNode::expand_as_plugin ( int  duplicate  )  [private]


Friends And Related Function Documentation

friend class VirtualConsole [friend]

Definition at line 32 of file virtualnode.h.


Field Documentation

Definition at line 83 of file virtualnode.h.

Definition at line 84 of file virtualnode.h.

Definition at line 85 of file virtualnode.h.

Definition at line 86 of file virtualnode.h.

Definition at line 87 of file virtualnode.h.

Definition at line 88 of file virtualnode.h.

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

Definition at line 89 of file virtualnode.h.

Referenced by VirtualNode().

Definition at line 90 of file virtualnode.h.

Referenced by VirtualNode().

Definition at line 129 of file virtualnode.h.

Referenced by VirtualNode().

Definition at line 130 of file virtualnode.h.

Referenced by VirtualNode().

Definition at line 130 of file virtualnode.h.

Referenced by VirtualNode().

Definition at line 133 of file virtualnode.h.

double VirtualNode::slope_value [protected]

Definition at line 134 of file virtualnode.h.

double VirtualNode::slope_start [protected]

Definition at line 135 of file virtualnode.h.

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 [protected]

Definition at line 138 of file virtualnode.h.

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

double VirtualNode::value [protected]

Definition at line 139 of file virtualnode.h.

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

int VirtualNode::is_exit [private]

Definition at line 147 of file virtualnode.h.

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


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

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