Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
DispatchTable Class Reference

#include "steam/engine/dispatch-table.hpp"

Description

Todo:
6/2023 gradually building up the core engine components...

Definition at line 41 of file dispatch-table.hpp.

Public Member Functions

 DispatchTable ()
 
- Public Member Functions inherited from Dispatcher
virtual ~Dispatcher ()
 this is an interface
 
PipelineBuilder< PipeFrameTickforCalcStream (Timings timings)
 Start a builder sequence to assemble a job-planning pipeline, backed by this Dispatcher.
 
Job createJobFor (size_t portIDX, TimeValue nominalTime)
 Convenience shortcut for tests: JobTicket ⟼ Job.
 

Protected Attributes

TimeSpan segment_
 timerange covered by this RenderGraph
 

Private Member Functions

size_t resolveModelPort (ModelPort) override
 translate a generic ModelPort spec into the specific index number applicable at the Timeline referred-to by this Dispatcher
 
JobTicketgetJobTicketFor (size_t, TimeValue nominalTime) override
 Core Dispatcher operation: locate the appropriate Segment and retrieve/derive a »blueprint« for render job generation.
 

Constructor & Destructor Documentation

◆ DispatchTable()

DispatchTable ( )
inline

Definition at line 55 of file dispatch-table.hpp.

Member Function Documentation

◆ resolveModelPort()

size_t resolveModelPort ( ModelPort  )
overrideprivatevirtual

translate a generic ModelPort spec into the specific index number applicable at the Timeline referred-to by this Dispatcher

Exceptions
error::Logicif the given ModelPort is not associated
Remarks
assuming that any Play-Process about to be started is always built on top of an established OutputConnection, and thus relies on a model link predetermined by the Builder. In other words, when a Timeline can be performed to this output, then a suitable ModelPort was derived on the Builder run triggered by preparing this specific output possibility. Thus it's an application logic error if attempting to dispatch on a unknown ModelPort.

Implements Dispatcher.

Definition at line 36 of file dispatch-table.cpp.

◆ getJobTicketFor()

JobTicket & getJobTicketFor ( size_t  portIDX,
TimeValue  nominalTime 
)
overrideprivatevirtual

Core Dispatcher operation: locate the appropriate Segment and retrieve/derive a »blueprint« for render job generation.

Parameters
portIDXindex-number for a ModelPort as resolved
nominalTimetime of the frame to calculate, relative to Timeline origin

Implements Dispatcher.

Definition at line 30 of file dispatch-table.cpp.

Member Data Documentation

◆ segment_

TimeSpan segment_
protected

timerange covered by this RenderGraph

Definition at line 52 of file dispatch-table.hpp.

+ Inheritance diagram for DispatchTable:
+ Collaboration diagram for DispatchTable:

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