Lumiera
0.pre.03
»edit your freedom«
|
#include "steam/engine/engine-service-mock.hpp"
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 RenderEnvironment & | configureCalculation (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::DummyTick > | processors_ |
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_Strategy > | QoS_Definition |
Static Public Attributes inherited from EngineService | |
static lib::Depend< EngineService > | instance |
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>() |
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.