Lumiera  0.pre.03
»edit your freedom«
Connectivity Class Referenceabstract

#include "steam/engine/connectivity-obsolete.hpp"

Description

Interface: Description of the input and output ports, processing function and predecessor nodes for a given ProcNode.

Todo:
the design of this part is messy in several respects. Basically, its left-over from a first prototypical implementation from 2008 As of 1/2012, we're re-shaping that engine interface and invocation with a top-down approach, starting from the player. Anyhow, you can expect the basic setup to remain as-is: there will be a ProcNode and a Connectivity descriptor, telling how it's connected to its predecessors, and defining how the Node is supposed to operate
Todo:
WIP-WIP-WIP 2024 Node-Invocation is reworked from ground up for the »Playback Vertical Slice«
Todo:
the design of this part is messy in several respects. Basically, its left-over from a first prototypical implementation from 2008 As of 1/2012, we're re-shaping that engine interface and invocation with a top-down approach, starting from the player. Anyhow, you can expect the basic setup to remain as-is: there will be a ProcNode and a Connectivity descriptor, telling how it's connected to its predecessors, and defining how the Node is supposed to operate
Todo:
WIP-WIP-WIP 2024 Node-Invocation is reworked from ground up for the »Playback Vertical Slice«

Definition at line 78 of file connectivity-obsolete.hpp.

Public Types

using Leads = lib::Several< ProcNodeRef >
 
using Ports = lib::Several< Port >
 
typedef asset::Proc::ProcFunc ProcFunc
 

Public Member Functions

 Connectivity (Ports &&pr, Leads &&lr)
 

Public Attributes

lib::RefArray< InChanDescriptor > & in
 
Leads leads
 
NodeID const & nodeID
 
uint nrI
 
uint nrO
 
lib::RefArray< ChannelDescriptor > & out
 
Ports ports
 
ProcFunc * procFunction
 

Friends

class ProcNode
 
class ProcNode_Obsolete
 

Protected Member Functions

 Connectivity (lib::RefArray< ChannelDescriptor > &o, lib::RefArray< InChanDescriptor > &i, ProcFunc pFunc, NodeID const &nID)
 
virtual BuffHandle callDown (StateClosure_OBSOLETE &currentProcess, uint requiredOutputNr) const =0
 the wiring-dependent part of the node operation. More...
 

Member Function Documentation

◆ callDown()

virtual BuffHandle callDown ( StateClosure_OBSOLETE currentProcess,
uint  requiredOutputNr 
) const
protectedpure virtual

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

Implemented in NodeWiring< STATE >.

Referenced by ProcNode_Obsolete::pull().

+ Here is the caller graph for this function:
+ Inheritance diagram for Connectivity:
+ Collaboration diagram for Connectivity:

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