Audio Processing Framework (APF) version 0.5.0
Public Member Functions | List of all members
apf::MimoProcessor< Derived, interface_policy, query_policy >::ProcessItem< X > Struct Template Reference

Base class for items which have a Process class. More...

#include <apf/mimoprocessor.h>

Inheritance diagram for apf::MimoProcessor< Derived, interface_policy, query_policy >::ProcessItem< X >:
Inheritance graph
[legend]

Public Member Functions

virtual void process ()
 to be overwritten in the derived class More...
 
virtual void process ()=0
 to be overwritten in the derived class More...
 
- Public Member Functions inherited from apf::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=default
 
NonCopyableoperator= (NonCopyable &&)=default
 
- Public Member Functions inherited from apf::CRTP< X >
X & derived ()
 

Additional Inherited Members

- Protected Member Functions inherited from apf::NonCopyable
 NonCopyable ()=default
 Protected default constructor. More...
 
 ~NonCopyable ()=default
 Protected non-virtual destructor. More...
 
- Protected Member Functions inherited from apf::CRTP< X >
 ~CRTP ()=default
 Protected destructor to avoid base class pointers. More...
 

Detailed Description

template<typename Derived, typename interface_policy, typename query_policy = disable_queries>
template<typename X>
struct apf::MimoProcessor< Derived, interface_policy, query_policy >::ProcessItem< X >

Base class for items which have a Process class.

Usage:

class MyItem : public ProcessItem<MyItem>
{
public:
{
// do something here, you have access to members of MyItem
}
};
#define APF_PROCESS(name, parent)
Macro to create a Process struct and a corresponding member function.
Definition: mimoprocessor.h:68
Base class for items which have a Process class.

Multiple layers of inheritance are possible, but ProcessItem must be instantiated with the most derived class!

Definition at line 236 of file mimoprocessor.h.

Member Function Documentation

◆ process()

template<typename Derived , typename interface_policy , typename query_policy = disable_queries>
template<typename X >
virtual void apf::MimoProcessor< Derived, interface_policy, query_policy >::ProcessItem< X >::process ( )
inlinevirtual

to be overwritten in the derived class

Implements apf::MimoProcessor< Derived, interface_policy, query_policy >::Item.

Definition at line 240 of file mimoprocessor.h.


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