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

Description

Test:
verify and demonstrate the organisation of the high-level interface for defining jobs to be invoked by the scheduler.
See also
SchedulerFrongend
DispatcherInterface_test

Definition at line 81 of file scheduler-interface-test.cpp.

Private Member Functions

void demonstrate_nested_job_specification (SchedulerFrontend &scheduler)
 
virtual void run (Arg)
 
void verify_job_specification_variations (SchedulerFrontend &scheduler)
 
void verify_simple_job_specification (SchedulerFrontend &scheduler)
 

Static Private Member Functions

static void specifyJobs (JobTransaction &currentTx, uint dummyLevel)
 recursive helper function to add several levels of prerequisites It is crucial for this function to be recursive: this allows us to represent a complete tree navigation as a sequence of job definitions to be "pulled" out from some opaque source
 

Member Function Documentation

◆ demonstrate_nested_job_specification()

void demonstrate_nested_job_specification ( SchedulerFrontend scheduler)
inlineprivate
Test:
demonstrate how a tree of dependent render jobs can be handed over to the scheduler within a single "transaction"
Remarks
in the real usage situation, the definition of jobs will be driven by the exploration of a tree-like structure (the JobTicket). For the purpose of this interface demonstration test this recursive invocation structure is just emulated by a simple tail recursion.
Deprecated:
6/2023 STOP we do it quite different now, and better, in the Job-Planning-Pipeline

Definition at line 154 of file scheduler-interface-test.cpp.

References SchedulerFrontend::JobTransaction::commit(), and SchedulerInterface_test::specifyJobs().

+ Here is the call graph for this function:
+ Inheritance diagram for SchedulerInterface_test:
+ Collaboration diagram for SchedulerInterface_test:

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