fast::Interleave class

Interleaves input data streams into one output stream.

This process object interleaves multiple input data streams into one output stream by alternating data objects from the input data streams. This is useful for instance for comparing image quality of two or more data streams. The speed in which they are interleaved can be controlled by the framerate parameter.

Inputs:

  • 0-N: Any types of data

Outputs:

  • 0: Same as input data

Base classes

class Streamer
Abstract base class for all Streamers.

Constructors, destructors, conversion operators

~Interleave()

Public functions

auto create(int framerate) -> std::shared_ptr<Interleave>
Create instance.
void loadAttributes() override
void generateStream() override

Private functions

void execute() virtual

Function documentation

std::shared_ptr<Interleave> fast::Interleave::create(int framerate)

Create instance.

Parameters
framerate Framerate to switch between input data
Returns instance

void fast::Interleave::generateStream() override

The function producing the data stream