Lumiera  0.pre.03
»edit your freedom«
DummyPlayConnection< DEF > Class Template Reference

#include "/Werk/devel/lumi/tests/core/steam/play/dummy-play-connection.hpp"

Description

template<class DEF>
class steam::play::test::DummyPlayConnection< DEF >

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.

Todo:

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)
 
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
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Member Function Documentation

◆ isSupported()

bool isSupported ( ModelPort  port,
DataSink  sink 
)
inline

search through all port <-> sink connections supported by this DummyPlayConnection

Returns
true if found both a math on port an sink.

Definition at line 135 of file dummy-play-connection.hpp.

◆ waitUntilDue()

void waitUntilDue ( )
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.

+ Inheritance diagram for DummyPlayConnection< DEF >:
+ Collaboration diagram for DummyPlayConnection< DEF >:

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