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

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

Description

< using the global current StateClosure, which will delegate to Cache

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

Public Member Functions

 AllocBufferFromCache (StateClosure_OBSOLETE &sta, Connectivity const &w, const uint outCh)
 
virtual BuffHandle allocateBuffer (const lumiera::StreamType *ty)
 allocate a new writable buffer with type and size according to the BuffDescr. More...
 
- Public Member Functions inherited from Invocation
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
 

Additional Inherited Members

- Public Attributes inherited from Invocation
FeedManifoldfeedManifold
 
const uint outNr
 
Connectivity const & wiring
 
- Protected Member Functions inherited from Invocation
 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...
 
- Protected Attributes inherited from StateAdapter
StateClosure_OBSOLETEcurrent_
 
StateClosure_OBSOLETEparent_
 

Member Function Documentation

◆ allocateBuffer()

virtual BuffHandle allocateBuffer ( const lumiera::StreamType )
inlinevirtual

allocate a new writable buffer with type and size according to the BuffDescr.

The actual provider of this buffer depends on the StateClosure implementation; it could be a temporary, located in the cache, used for feeding calculated frames over a network, etc.

Returns
a BuffHandle encapsulating the information necessary to get at the actual buffer address and for releasing the buffer.

Implements StateClosure_OBSOLETE.

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

+ Inheritance diagram for AllocBufferFromCache:
+ Collaboration diagram for AllocBufferFromCache:

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