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

Description

Test:
document and verify the engine::Dispatcher interface, used to translate a CalcStream into individual node jobs.

This test covers the definition of the interface itself, together with the supporting types and the default implementation of the basic operations. It uses a mock Dispatcher implementation.

See also
JobPlanningPipeline_test

Definition at line 67 of file dispatcher-interface-test.cpp.

Private Member Functions

void accessJobTicket ()
 
void pipelineBuilder ()
 
void resolveModelPort ()
 
virtual void run (Arg)
 

Additional Inherited Members

- Public Member Functions inherited from Test
virtual void run (Arg arg)=0
 

Member Function Documentation

◆ resolveModelPort()

void resolveModelPort ( )
inlineprivate
Test:
the dispatcher can resolve a known ModelPort into the internal index number used on the Segmentation for the corresponding timeline (which exposes this ModelPort)

Definition at line 84 of file dispatcher-interface-test.cpp.

References MockDispatcher::getDummyConnection(), Pipe::query(), MockDispatcher::resolveModelPort(), and VERIFY_ERROR.

+ Here is the call graph for this function:

◆ accessJobTicket()

void accessJobTicket ( )
inlineprivate
Test:
the dispatcher knows how to pick the right JobTicket for each point on the timeline, and thus how to access the proper part of the render nodes responsible for rendering this part of the timeline

Definition at line 104 of file dispatcher-interface-test.cpp.

◆ pipelineBuilder()

void pipelineBuilder ( )
inlineprivate
Test:
for the actual use case, the dispatcher acts as entrance point to a job-planning pipeline builder, which in the end is an iterator to pull render jobs from
See also
JobPlanningPipeline_test for in-depth coverage of this complex topic

Definition at line 146 of file dispatcher-interface-test.cpp.

+ Inheritance diagram for DispatcherInterface_test:
+ Collaboration diagram for DispatcherInterface_test:

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