OpenHantek
Public Slots | Signals | Public Member Functions
PostProcessing Class Reference

#include <postprocessing.h>

Inheritance diagram for PostProcessing:

Public Slots

void input (const DSOsamples *data)
 

Signals

void processingFinished (std::shared_ptr< PPresult > result)
 

Public Member Functions

 PostProcessing (unsigned channelCount)
 
void registerProcessor (Processor *processor)
 

Detailed Description

Manages all post processing processors. Register another processor with registerProcessor(p). All processors, in the order of insertion, will process the input data, given by input(data). The final result will be made available via the processingFinished signal.

Member Function Documentation

◆ input

void PostProcessing::input ( const DSOsamples data)
slot

Start processing new data. The actual data may be processed in another thread if you have moved this class object into another thread.

Parameters
data

◆ registerProcessor()

void PostProcessing::registerProcessor ( Processor processor)

Adds a new processor that is called when a new input arrived. The order of the processors is imporant. The first added processor will be called first. This class does not take ownership of the processors.

Parameters
processor

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