Lumiera  0.pre.03
»edit your freedom«
Invocation Struct Reference

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

Description

Invocation context state.

A ref to this type is carried through the chain of NEXT::step() functions which form the actual invocation sequence. The various operations in this sequence access the context via the references in this struct, while also using the inherited public State interface. The object instance actually used as Invocation is created on the stack and parametrised according to the necessities of the invocation sequence actually configured. Initially, this real instance is configured without FeedManifold, because the invocation may be short-circuited due to Cache hit. Otherwise, when the invocation sequence actually prepares to call the process function of this ProcNode, a buffer table chunk is allocated by the StateProxy and wired in.

Definition at line 118 of file nodeinvocation-obsolete.hpp.

Public Member Functions

bool buffTab_isConsistent ()
 
uint buffTabSize () const
 
virtual FrameID const & genFrameID ()
 specialised version filling in the additional information, i.e the concrete node id and the channel number in question
 
virtual FrameID const & genFrameID (NodeID const &nID, uint chanNo)
 generate (or calculate) an ID denoting a media data frame appearing at the given position in the render network, for the time point this rendering process is currently calculating data for. More...
 
uint nrI () const
 
uint nrO () const
 
void setBuffTab (FeedManifold *b)
 setup the link to an externally allocated buffer table
 
- Public Member Functions inherited from StateAdapter
virtual BuffHandle fetch (FrameID const &fID)
 try to fetch an existing buffer containing the denoted frame from a cache or similar backing system (e.g. More...
 
virtual BuffTableStoragegetBuffTableStorage ()
 necessary for creating a local BuffTableChunk
 
virtual void is_calculated (BuffHandle const &bh)
 declare the data contained in the Buffer to be ready. More...
 
virtual void releaseBuffer (BuffHandle &bh)
 resign control of the buffer denoted by the handle
 
- Public Member Functions inherited from StateClosure_OBSOLETE
virtual BuffHandle allocateBuffer (const lumiera::StreamType *)=0
 allocate a new writable buffer with type and size according to the BuffDescr. More...
 

Public Attributes

FeedManifoldfeedManifold
 
const uint outNr
 
Connectivity const & wiring
 

Protected Member Functions

 Invocation (StateClosure_OBSOLETE &callingProcess, Connectivity const &w, uint o)
 creates a new invocation context state, without FeedManifold
 
- Protected Member Functions inherited from StateAdapter
 StateAdapter (StateClosure_OBSOLETE &callingProcess)
 
virtual StateClosure_OBSOLETEgetCurrentImplementation ()
 resolves to the StateClosure object currently "in charge". More...
 

Additional Inherited Members

- Protected Attributes inherited from StateAdapter
StateClosure_OBSOLETEcurrent_
 
StateClosure_OBSOLETEparent_
 

Member Function Documentation

◆ genFrameID()

virtual FrameID const& genFrameID ( NodeID const &  ,
uint  chanNo 
)
inlinevirtual

generate (or calculate) an ID denoting a media data frame appearing at the given position in the render network, for the time point this rendering process is currently calculating data for.

Parameters
NodeIDthe unique identification of a specific node
chanNothe number of the output channel of this node
Returns
a complete FrameID which unambiguously denotes this specific frame and can be used for caching

Implements StateClosure_OBSOLETE.

Definition at line 164 of file nodeinvocation-obsolete.hpp.

+ Inheritance diagram for Invocation:
+ Collaboration diagram for Invocation:

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