Lumiera  0.pre.03
»edit your freedom«
NodeWiring< STATE > Class Template Reference

#include "steam/engine/nodewiring.hpp"

Description

template<class STATE>
class steam::engine::NodeWiring< STATE >

Actual implementation of the link between nodes, also acting as "track switch" for the execution path chosen while operating the node network for rendering.

Parameters
STATEInvocation state object controlling the behaviour of callDown() while rendering.
See also
StateAdapter
NodeFactory

Definition at line 65 of file nodewiring.hpp.

Public Member Functions

 NodeWiring (WiringSituation const &setup)
 

Private Member Functions

virtual BuffHandle callDown (State &currentProcess, uint requestedOutputNr) const
 the wiring-dependent part of the node operation. More...
 

Additional Inherited Members

- Public Types inherited from WiringDescriptor
typedef asset::Proc::ProcFunc ProcFunc
 
- Public Attributes inherited from WiringDescriptor
lib::RefArray< InChanDescriptor > & in
 
NodeID const & nodeID
 
uint nrI
 
uint nrO
 
lib::RefArray< ChannelDescriptor > & out
 
ProcFunc * procFunction
 
- Protected Member Functions inherited from WiringDescriptor
 WiringDescriptor (lib::RefArray< ChannelDescriptor > &o, lib::RefArray< InChanDescriptor > &i, ProcFunc pFunc, NodeID const &nID)
 

Member Function Documentation

◆ callDown()

virtual BuffHandle callDown ( State currentProcess,
uint  requiredOutputNr 
) const
inlineprivatevirtual

the wiring-dependent part of the node operation.

Includes the creation of a one-way state object on the stack holding the actual buffer pointers and issuing the recursive pull() calls

See also
NodeWiring::callDown default implementation

Implements WiringDescriptor.

Definition at line 79 of file nodewiring.hpp.

+ Inheritance diagram for NodeWiring< STATE >:
+ Collaboration diagram for NodeWiring< STATE >:

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