Audio Processing Framework (APF) version 0.5.0
|
Command to add an element to a list. More...
#include <apf/rtlist.h>
Public Member Functions | |
AddCommand (list_t &dst_list, T *element) | |
Constructor to add a single item. More... | |
template<typename InputIterator > | |
AddCommand (list_t &dst_list, InputIterator first, InputIterator last) | |
Constructor to add a bunch of items at once. More... | |
virtual void | execute () |
The actual implementation of the command. More... | |
virtual void | cleanup () |
Cleanup of resources. More... | |
Public Member Functions inherited from apf::CommandQueue::Command | |
virtual | ~Command () |
Empty virtual destructor. More... | |
virtual void | execute ()=0 |
The actual implementation of the command. More... | |
virtual void | cleanup ()=0 |
Cleanup of resources. More... | |
Public Member Functions inherited from apf::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable (NonCopyable &&)=default | |
NonCopyable & | operator= (NonCopyable &&)=default |
Additional Inherited Members | |
Protected Member Functions inherited from apf::NonCopyable | |
NonCopyable ()=default | |
Protected default constructor. More... | |
~NonCopyable ()=default | |
Protected non-virtual destructor. More... | |
Command to add an element to a list.
|
inline |
|
inline |
|
inlinevirtual |
The actual implementation of the command.
This is called from the realtime thread. Overwritten in the derived class.
Implements apf::CommandQueue::Command.
|
inlinevirtual |
Cleanup of resources.
This is called from the non-realtime thread. Overwritten in the derived class.
Implements apf::CommandQueue::Command.