Multi-threaded multiple-input-multiple-output (MIMO) processor.
More...
#include <apf/mimoprocessor.h>
template<typename Derived, typename interface_policy, typename query_policy = disable_queries>
class apf::MimoProcessor< Derived, interface_policy, query_policy >
Multi-threaded multiple-input-multiple-output (MIMO) processor.
Derive your own class from MimoProcessor and also use it as first template argument. This is called the "Curiously Recurring Template Pattern" (CRTP). The rest of the template arguments are Policies ("Policy-based
Design").
- Template Parameters
-
Derived | Your derived class -> CRTP! |
interface_policy | Policy class. You can use existing policies (e.g. jack_policy, pointer_policy<T*>) or write your own policy class. |
Example: MimoProcessor
- Examples
- dummy_example.cpp, jack_dynamic_inputs.cpp, jack_dynamic_outputs.cpp, jack_minimal.cpp, and simpleprocessor.h.
Definition at line 198 of file mimoprocessor.h.
◆ rtlist_t
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ MimoProcessorBase
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ rtlist_iterator
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
using apf::MimoProcessor< Derived, interface_policy, query_policy >::rtlist_iterator = typename rtlist_t::iterator |
|
protected |
◆ rtlist_const_iterator
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
using apf::MimoProcessor< Derived, interface_policy, query_policy >::rtlist_const_iterator = typename rtlist_t::const_iterator |
|
protected |
◆ MimoProcessor()
template<typename Derived , typename interface_policy , typename query_policy >
◆ ~MimoProcessor()
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ activate() [1/2]
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ activate() [2/2]
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
template<typename F >
bool apf::MimoProcessor< Derived, interface_policy, query_policy >::activate |
( |
F & |
query_function, |
|
|
int |
usleeptime |
|
) |
| |
|
inline |
This is only available when enable_queries is used.
Definition at line 281 of file mimoprocessor.h.
◆ deactivate()
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ wait_for_rt_thread()
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
void apf::MimoProcessor< Derived, interface_policy, query_policy >::wait_for_rt_thread |
( |
| ) |
|
|
inline |
◆ add() [1/2]
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
template<typename X >
◆ add() [2/2]
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
template<typename P >
P::outer * apf::MimoProcessor< Derived, interface_policy, query_policy >::add |
( |
const P & |
p | ) |
|
|
inline |
◆ rem() [1/2]
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ rem() [2/2]
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ get_input_list()
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
const rtlist_t & apf::MimoProcessor< Derived, interface_policy, query_policy >::get_input_list |
( |
| ) |
const |
|
inline |
◆ get_output_list()
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
const rtlist_t & apf::MimoProcessor< Derived, interface_policy, query_policy >::get_output_list |
( |
| ) |
const |
|
inline |
◆ threads()
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ _process_list() [1/2]
template<typename Derived , typename interface_policy , typename query_policy >
void apf::MimoProcessor< Derived, interface_policy, query_policy >::_process_list |
( |
rtlist_t & |
l | ) |
|
|
protected |
◆ _process_list() [2/2]
template<typename Derived , typename interface_policy , typename query_policy >
void apf::MimoProcessor< Derived, interface_policy, query_policy >::_process_list |
( |
rtlist_t & |
l1, |
|
|
rtlist_t & |
l2 |
|
) |
| |
|
protected |
◆ params
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
◆ _fifo
template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
The documentation for this class was generated from the following file: