Ardour
9.0-pre0-386-g96ef4d20f2
|
An generic Source that uses a std::list for managing outputs. More...
#include <listed_source.h>
Public Member Functions | |
void | add_output (typename Source< T >::SinkPtr output) |
void | clear_outputs () |
Removes all outputs added. More... | |
void | remove_output (typename Source< T >::SinkPtr output) |
Public Member Functions inherited from AudioGrapher::Source< DefaultSampleType > | |
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 | remove_output (SinkPtr output)=0 |
Removes a specific output from this source. More... | |
Protected Types | |
typedef std::list< typename Source< T >::SinkPtr > | SinkList |
Protected Member Functions | |
void | output (ProcessContext< T > const &c) |
Helper for derived classes. More... | |
void | output (ProcessContext< T > &c) |
bool | output_size_is_one () |
Protected Attributes | |
SinkList | outputs |
Additional Inherited Members | |
Public Types inherited from AudioGrapher::Source< DefaultSampleType > | |
typedef std::shared_ptr< Sink< DefaultSampleType > > | SinkPtr |
An generic Source that uses a std::list for managing outputs.
Definition at line 16 of file listed_source.h.
|
protected |
Definition at line 25 of file listed_source.h.
|
inline |
Definition at line 19 of file listed_source.h.
|
inlinevirtual |
Removes all outputs added.
Implements AudioGrapher::Source< DefaultSampleType >.
Definition at line 20 of file listed_source.h.
|
inlineprotected |
Definition at line 35 of file listed_source.h.
|
inlineprotected |
Helper for derived classes.
Definition at line 28 of file listed_source.h.
|
inlineprotected |
Definition at line 45 of file listed_source.h.
|
inline |
Definition at line 21 of file listed_source.h.
|
protected |
Definition at line 47 of file listed_source.h.