Audio Processing Framework (APF) version 0.5.0
Public Member Functions | List of all members
apf::CombineChannels< L, Out > Class Template Reference

Combine channels: transform and accumulate. More...

#include <apf/combine_channels.h>

Inheritance diagram for apf::CombineChannels< L, Out >:
Inheritance graph
[legend]

Public Member Functions

 CombineChannels (const L &in, Out &out)
 
template<typename ItemType , typename F >
void case_one (const ItemType &item, F &f)
 
- Public Member Functions inherited from apf::CombineChannelsBase< CombineChannels< L, Out >, L, Out >
 CombineChannelsBase (L &in, Out &out)
 Constructor. More...
 
void process (F f)
 Do the actual combining. More...
 
void before_the_loop ()
 
void case_one (const ItemType &, F &)
 
void case_two (const ItemType &, F &)
 
void after_the_loop ()
 
- Public Member Functions inherited from apf::CRTP< CombineChannels< L, Out > >
CombineChannels< L, Out > & derived ()
 

Additional Inherited Members

- Protected Types inherited from apf::CombineChannelsBase< CombineChannels< L, Out >, L, Out >
using T = typename std::iterator_traits< typename std::remove_reference< L >::type::value_type::iterator >::value_type
 
- Protected Member Functions inherited from apf::CombineChannelsBase< CombineChannels< L, Out >, L, Out >
void _case_one_copy (const ItemType &item)
 
void _case_one_transform (const ItemType &item, FunctionType &f)
 
- Protected Member Functions inherited from apf::CRTP< CombineChannels< L, Out > >
 ~CRTP ()=default
 Protected destructor to avoid base class pointers. More...
 
- Protected Attributes inherited from apf::CombineChannelsBase< CombineChannels< L, Out >, L, Out >
Out & _out
 
CombineChannelsResult::type _selection
 
bool _accumulate
 

Detailed Description

template<typename L, typename Out>
class apf::CombineChannels< L, Out >

Combine channels: transform and accumulate.

Examples
jack_dynamic_inputs.cpp, and simpleprocessor.h.

Definition at line 214 of file combine_channels.h.

Constructor & Destructor Documentation

◆ CombineChannels()

template<typename L , typename Out >
apf::CombineChannels< L, Out >::CombineChannels ( const L &  in,
Out &  out 
)
inline

Definition at line 221 of file combine_channels.h.

Member Function Documentation

◆ case_one()

template<typename L , typename Out >
template<typename ItemType , typename F >
void apf::CombineChannels< L, Out >::case_one ( const ItemType &  item,
F &  f 
)
inline

Definition at line 224 of file combine_channels.h.


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