Lumiera  0.pre.03
SchedulerFrontend Class Reference

#include "backend/engine/scheduler-frontend.hpp"


Access point to the scheduler service provided by the back-end.

Proc-Layer uses this service as the primary means of instructing the backend; suitably prepared and wired frame render jobs are handed over to the scheduler for time-bound or bandwidth-controlled execution


this is planned to become the frontend to the render node network, which can be considered at the lower end of the middle layer; the actual render operations are mostly implemented by the backend

define the low-level scheduler interface and hook in the necessary calls to implement this frontend. ////////TODO WIP as of 9/2013

Definition at line 63 of file scheduler-frontend.hpp.

Public Member Functions

JobTransaction startJobTransaction ()

Static Public Attributes

static lib::Depend< SchedulerFrontendinstance
 access point to the Engine Interface. More...


class  JobTransaction
 Definition context for jobs to be scheduled. More...


class SchedulerDiagnostics

Protected Member Functions

void activateTracing ()
 Switch the complete engine into diagnostics mode. More...
void disableTracing ()
 EX_FREE. More...

Member Function Documentation

◆ startJobTransaction()

JobTransaction startJobTransaction ( )

Definition at line 160 of file scheduler-frontend.hpp.

References SchedulerFrontend::activateTracing(), SchedulerFrontend::disableTracing(), and SchedulerFrontend::JobTransaction::JobTransaction().

Referenced by SchedulerInterface_test::demonstrate_nested_job_specification(), SchedulerInterface_test::verify_job_specification_variations(), and SchedulerInterface_test::verify_simple_job_specification().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ activateTracing()

void activateTracing ( )

Switch the complete engine into diagnostics mode.

This activates additional logging and reporting facilities, allowing to verify some specific operations within the engine did indeed happen. Activating this mode incurs a performance hit.

Definition at line 49 of file scheduler-frontend.cpp.

Referenced by SchedulerDiagnostics::SchedulerDiagnostics(), and SchedulerFrontend::startJobTransaction().

+ Here is the caller graph for this function:

◆ disableTracing()

void disableTracing ( )


Definition at line 55 of file scheduler-frontend.cpp.

Referenced by SchedulerFrontend::startJobTransaction(), and SchedulerDiagnostics::~SchedulerDiagnostics().

+ Here is the caller graph for this function:

Member Data Documentation

◆ instance

lib::Depend< SchedulerFrontend > instance

access point to the Engine Interface.

storage for the (singleton) scheduler access frontend

this is an facade interface for internal use by the player. Client code should use the Player.

Definition at line 70 of file scheduler-frontend.hpp.

Referenced by SchedulerInterface_test::run().

Friends And Related Function Documentation

◆ SchedulerDiagnostics

friend class SchedulerDiagnostics

Definition at line 173 of file scheduler-frontend.hpp.

+ Collaboration diagram for SchedulerFrontend:

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