This variadically-templated class lets you join together any number of processor classes into a single processor which will call process() on them all in sequence.
More...
|
| template<int Index> |
| auto & | get () noexcept |
| | Get a reference to the processor at index Index. More...
|
| |
| template<int Index> |
| const auto & | get () const noexcept |
| | Get a reference to the processor at index Index. More...
|
| |
| template<int Index> |
| void | setBypassed (bool b) noexcept |
| | Set the processor at index Index to be bypassed or enabled. More...
|
| |
| template<int Index> |
| bool | isBypassed () const noexcept |
| | Query whether the processor at index Index is bypassed. More...
|
| |
| void | prepare (const ProcessSpec &spec) |
| | Prepare all inner processors with the provided ProcessSpec. More...
|
| |
| void | reset () |
| | Reset all inner processors. More...
|
| |
| template<typename ProcessContext > |
| void | process (const ProcessContext &context) noexcept |
| | Process context through all inner processors in sequence. More...
|
| |
template<typename... Processors>
class dsp::ProcessorChain< Processors >
This variadically-templated class lets you join together any number of processor classes into a single processor which will call process() on them all in sequence.