AudiClean
Public Member Functions | Protected Attributes | List of all members
SampleLink Class Reference

#include <SampleLink.h>

Inheritance diagram for SampleLink:
Inheritance graph
Collaboration diagram for SampleLink:
Collaboration graph

Public Member Functions

void RegisterCallback (SampleCallback *scb)
 
void NextSample (double next)
 

Protected Attributes

SampleCallbacksampleCallback = nullptr
 

Detailed Description

Extends SampleCallback to include facility to register a futher callback. Forms a pipeline element with an input and output.

Member Function Documentation

◆ NextSample()

void SampleLink::NextSample ( double  sample)
virtual

Default implementation of NextSample. Pass the sample to the next callback, return if no callback is set yet.

Parameters
sample

Implements SampleCallback.

◆ RegisterCallback()

void SampleLink::RegisterCallback ( SampleCallback scb)

Register the callback for the next object in the pipeline.

Parameters
scb

Member Data Documentation

◆ sampleCallback

SampleCallback* SampleLink::sampleCallback = nullptr
protected

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