engine::ProcNode Class Reference

#include <procnode.hpp>

Inheritance diagram for engine::ProcNode:

Inheritance graph
[legend]
Collaboration diagram for engine::ProcNode:

Collaboration graph
[legend]

List of all members.


Detailed Description

Key abstraction of the Render Engine: A Data processing Node.

Definition at line 114 of file procnode.hpp.


Public Member Functions

BuffHandle pull (State &currentProcess, uint requiredOutputNr=0) const
 Engine Core operation: render and pull output from this node.

Static Public Attributes

static NodeFactory create
 Storage for the (single, static) ProcNode factory object.

Protected Member Functions

 ProcNode (WiringDescriptor const &wd)

Private Types

typedef mobject::Parameter
< double > 
Param

Private Attributes

vector< Paramparams
const WiringDescriptorwiringConfig_

Friends

class NodeFactory

Member Function Documentation

BuffHandle engine::ProcNode::pull ( State &  currentProcess,
uint  requiredOutputNr = 0 
) const [inline]

Engine Core operation: render and pull output from this node.

On return, currentProcess will hold onto output buffer(s) containing the calculated result frames. In case this node calculates a multi channel output, only one channel can be retrieved by such a pull() call, but you can expect data of the other channels to be processed and fed to cache.

Parameters:
currentProcess the current processing state for managing buffers and accessing current parameter values
requiredOutputNr the output channel requested (in case this node delivers more than one output channel)
Returns:
handle to the buffer containing the calculated result.

Definition at line 148 of file procnode.hpp.

References engine::WiringDescriptor::callDown().

00149         {
00150           return this->wiringConfig_.callDown (currentProcess, requiredOutputNr);
00151         }

Here is the call graph for this function:


Member Data Documentation

Storage for the (single, static) ProcNode factory object.

Definition at line 133 of file procnode.hpp.


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

Generated on Fri Nov 7 22:15:28 2008 for Lumiera by  doxygen 1.5.6