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

#include "steam/engine/engine-service-mock.hpp"

Description

Variant of the render engine, reconfigured for mock operation.

Especially, this setup leaves out most of the actual Lumiera engine's implementation facilities. There is no scheduler and no frame cache; rather we perform simple dependent calculations which might block.

Definition at line 73 of file engine-service-mock.hpp.

Public Member Functions

 EngineServiceMock ()
 Initialise a mock render engine. More...
 
- Public Member Functions inherited from EngineService
CalcStreams calculate (ModelPort mPort, Timings nominalTimings, OutputConnection &output, Quality serviceQuality=QoS_DEFAULT)
 core operation: activate the Lumiera Render Engine. More...
 
CalcStreams calculateBackground (ModelPort mPort, Timings nominalTimings, Quality serviceQuality=QoS_BACKGROUND)
 

Protected Member Functions

virtual RenderEnvironmentconfigureCalculation (ModelPort, Timings, Quality)
 special engine configuration for mock/testing operation.
 
- Protected Member Functions inherited from EngineService
void activateTracing ()
 Switch the complete engine into diagnostics mode. More...
 
void disableTracing ()
 EX_FREE.
 

Private Attributes

lib::ScopedPtrVect< node::DummyTickprocessors_
 

Additional Inherited Members

- Public Types inherited from EngineService
typedef lib::polyvalue::CloneValueSupport< Quality_Clonable_QoS_Strategy
 
typedef lib::PolymorphicValue< Quality, QoS_IMPL_SIZE, _Clonable_QoS_StrategyQoS_Definition
 
- Static Public Attributes inherited from EngineService
static lib::Depend< EngineServiceinstance
 access point to the Engine Interface. More...
 
static QoS_Definition QoS_BACKGROUND = QoS_Definition::build<DefaultQoS> (BACKGROUND)
 
static QoS_Definition QoS_COMPROMISE = QoS_Definition::build<Compromise> (PLAYBACK)
 
static QoS_Definition QoS_DEFAULT = QoS_Definition::build<DefaultQoS> (PLAYBACK)
 
static QoS_Definition QoS_PERFECT_RESULT = QoS_Definition::build<DefaultQoS> (RENDER)
 
static QoS_Definition QoS_SYNC_PRIORITY = QoS_Definition::build<PriorityQoS>()
 

Constructor & Destructor Documentation

◆ EngineServiceMock()

Initialise a mock render engine.

This dummy implementation manages a collection of "Processors", each running in a separate thread.

Definition at line 52 of file engine-service-mock.cpp.

+ Inheritance diagram for EngineServiceMock:
+ Collaboration diagram for EngineServiceMock:

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