Ardour  9.0-pre0-582-g084a23a80d
AudioGrapher::Source< T > Class Template Referenceabstract

#include <source.h>

Inheritance diagram for AudioGrapher::Source< T >:
[legend]

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...
 

Detailed Description

template<typename T>
class AudioGrapher::Source< T >

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.

Member Typedef Documentation

◆ SinkPtr

template<typename T >
typedef std::shared_ptr<Sink<T> > AudioGrapher::Source< T >::SinkPtr

Definition at line 23 of file audiographer/audiographer/source.h.

Constructor & Destructor Documentation

◆ ~Source()

template<typename T >
virtual AudioGrapher::Source< T >::~Source ( )
inlinevirtual

Definition at line 21 of file audiographer/audiographer/source.h.

Member Function Documentation

◆ add_output()

template<typename T >
virtual void AudioGrapher::Source< T >::add_output ( SinkPtr  output)
pure virtual

Adds an output to this source. All data generated is forwarded to output.

◆ clear_outputs()

template<typename T >
virtual void AudioGrapher::Source< T >::clear_outputs ( )
pure virtual

◆ remove_output()

template<typename T >
virtual void AudioGrapher::Source< T >::remove_output ( SinkPtr  output)
pure virtual

Removes a specific output from this source.


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