Lumiera  0.pre.03
»edit your freedom«
DispatchTable Class Reference

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

Description

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

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

Protected Attributes

TimeSpan segment_
 timerange covered by this RenderGraph
 

Private Member Functions

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

Additional Inherited Members

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

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 45 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 39 of file dispatch-table.cpp.

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

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