Ardour
9.0-pre0-582-g084a23a80d
|
#include <source.h>
Public Types | |
typedef std::shared_ptr< Sink< T > > | SinkPtr |
Public Member Functions | |
virtual | ~Source () |
virtual void | add_output (SinkPtr output)=0 |
Adds an output to this source. All data generated is forwarded to output. More... | |
virtual void | clear_outputs ()=0 |
Removes all outputs added. More... | |
virtual void | remove_output (SinkPtr output)=0 |
Removes a specific output from this source. More... | |
A source for data This is a pure virtual interface for all data sources in AudioGrapher
Definition at line 18 of file audiographer/audiographer/source.h.
typedef std::shared_ptr<Sink<T> > AudioGrapher::Source< T >::SinkPtr |
Definition at line 23 of file audiographer/audiographer/source.h.
|
inlinevirtual |
Definition at line 21 of file audiographer/audiographer/source.h.
|
pure virtual |
Adds an output to this source. All data generated is forwarded to output.
|
pure virtual |
Removes all outputs added.
Implemented in AudioGrapher::ListedSource< T >, AudioGrapher::ListedSource< float >, AudioGrapher::ListedSource< TOut >, AudioGrapher::ListedSource< DefaultSampleType >, and AudioGrapher::Threader< T >.
|
pure virtual |
Removes a specific output from this source.