Lumiera  0.pre.03
»edit your freedom«
DiagnosticOutputSlot::OutputFramesLog Class Reference

#include "/Werk/devel/lumi/tests/core/steam/play/diagnostic-output-slot.hpp"

Description

diagnostic facility to verify test data frames written to this Test/Dummy "output".

It exposes the emitted Data as a sequence of TestFrame objects.

Definition at line 367 of file diagnostic-output-slot.hpp.

Public Member Functions

 OutputFramesLog (TrackingInMemoryBlockSequence const &bs)
 
- Public Member Functions inherited from IterSource< const TestFrame >
virtual operator string () const
 is ABC More...
 

Private Member Functions

virtual Pos firstResult () override
 iteration start: prepare the first element. More...
 
virtual void nextResult (Pos &pos) override
 iteration step: switch on to the next element. More...
 
- Private Member Functions inherited from NonCopyable
 NonCopyable (NonCopyable const &)=delete
 
NonCopyableoperator= (NonCopyable const &)=delete
 

Private Attributes

uint currentFrame_
 
TrackingInMemoryBlockSequence const & outSeq_
 

Additional Inherited Members

- Public Types inherited from IterSource< const TestFrame >
using pointer = const TestFrame *
 
using reference = const TestFrame &
 
using value_type = const TestFrame
 
- Static Public Member Functions inherited from IterSource< const TestFrame >
static iterator build (IterSource &sourceImpl)
 build an iterator frontend for the given source, More...
 
static iterator build (IterSource *sourceImplObject)
 build an iterator frontend, thereby managing the given heap allocated source object instance. More...
 
- Static Public Attributes inherited from IterSource< const TestFrame >
static iterator EMPTY_SOURCE
 storage for the empty data-source constant
 
- Protected Types inherited from IterSource< const TestFrame >
typedef shared_ptr< IterSourceDataHandle
 
typedef const TestFrame * Pos
 
- Protected Member Functions inherited from IterSource< const TestFrame >
virtual void disconnect ()
 disconnect the data source / iteration frontend. More...
 

Member Function Documentation

◆ firstResult()

virtual Pos firstResult ( )
inlineoverrideprivatevirtual

iteration start: prepare the first element.

may return NULL in case of empty data source

Implements IterSource< const TestFrame >.

Definition at line 376 of file diagnostic-output-slot.hpp.

◆ nextResult()

virtual void nextResult ( Pos &  pos)
inlineoverrideprivatevirtual

iteration step: switch on to the next element.

The pos pointer should be set to NULL to report iteration end

Implements IterSource< const TestFrame >.

Definition at line 383 of file diagnostic-output-slot.hpp.

+ Inheritance diagram for DiagnosticOutputSlot::OutputFramesLog:
+ Collaboration diagram for DiagnosticOutputSlot::OutputFramesLog:

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