![]() |
Lumiera 0.pre.04~rc.1
»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 111 of file dummy-play-connection.hpp.
Public Member Functions | |
| ModelPorts | getAllModelPorts () |
| DummyOutputLink | getModelPort (uint index) |
| bool | isSupported (ModelPort port, DataSink sink) |
| search through all port <-> sink connections supported by this DummyPlayConnection | |
| POutputManager | provide_testOutputSlot () |
| bool | isWired () |
| Duration | getPlannedTestDuration () |
| void | waitUntilDue () |
| test helper: blocking wait during an output test. | |
| bool | gotCorrectOutput () |
Private Attributes | |
| SimulatedBuilderContext | mockBuilder_ |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
| ~NonCopyable ()=default | |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable const &)=delete | |
| NonCopyable & | operator= (NonCopyable const &)=delete |
|
inline |
Definition at line 119 of file dummy-play-connection.hpp.
References SimulatedBuilderContext::getAllModelPorts(), and DummyPlayConnection< DEF >::mockBuilder_.
Referenced by DummyPlayConnection< DEF >::isSupported().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 125 of file dummy-play-connection.hpp.
References SimulatedBuilderContext::getModelPort(), and DummyPlayConnection< DEF >::mockBuilder_.
Referenced by DummyPlayConnection< DEF >::isSupported().
Here is the call graph for this function:
Here is the caller graph for this function:search through all port <-> sink connections supported by this DummyPlayConnection
true if found both a math on port an sink. Definition at line 135 of file dummy-play-connection.hpp.
References DummyPlayConnection< DEF >::getAllModelPorts(), and DummyPlayConnection< DEF >::getModelPort().
Here is the call graph for this function:
|
inline |
Definition at line 149 of file dummy-play-connection.hpp.
|
inline |
Definition at line 158 of file dummy-play-connection.hpp.
|
inline |
Definition at line 164 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 174 of file dummy-play-connection.hpp.
|
inline |
Definition at line 180 of file dummy-play-connection.hpp.
|
private |
Definition at line 114 of file dummy-play-connection.hpp.
Referenced by DummyPlayConnection< DEF >::getAllModelPorts(), and DummyPlayConnection< DEF >::getModelPort().
Inheritance diagram for DummyPlayConnection< DEF >:
Collaboration diagram for DummyPlayConnection< DEF >: