Lumiera
0.pre.03
»edit your freedom«
|
#include "/Werk/devel/lumi/tests/core/steam/play/dummy-play-connection.hpp"
Framework for dummy playback and rendering.
A DummyPlayConnection provides a coherent set of placeholders, allowing to start a data producing process while leaving out various parts of the real engine implementation. The specific mode of operation, suitable for various test scenarios, may be fine tuned by the strategy object defined as template parameter.
not-yet-implemented as of 2016 – but the design can be considered valid.
6/23 still largely unimplemented, but used as generator for mock ModelPort
Definition at line 120 of file dummy-play-connection.hpp.
Public Member Functions | |
ModelPorts | getAllModelPorts () |
DummyOutputLink | getModelPort (uint index) |
Duration | getPlannedTestDuration () |
bool | gotCorrectOutput () |
bool | isSupported (ModelPort port, DataSink sink) |
search through all port <-> sink connections supported by this DummyPlayConnection More... | |
bool | isWired () |
POutputManager | provide_testOutputSlot () |
void | waitUntilDue () |
test helper: blocking wait during an output test. More... | |
Private Attributes | |
SimulatedBuilderContext | mockBuilder_ |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |
search through all port <-> sink connections supported by this DummyPlayConnection
true
if found both a math on port an sink. Definition at line 144 of file dummy-play-connection.hpp.
|
inline |
test helper: blocking wait during an output test.
The waiting time should be in accordance with the planned value ,
Definition at line 183 of file dummy-play-connection.hpp.