Audio Processing Framework (APF) version 0.5.0
|
Abstract base class for realtime commands. More...
#include <apf/commandqueue.h>
Public Member Functions | |
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... | |
Abstract base class for realtime commands.
These commands are passed through queues into the realtime thread and after execution back to the non-realtime thread for cleanup.
Definition at line 54 of file commandqueue.h.
|
inlinevirtual |
Empty virtual destructor.
Definition at line 57 of file commandqueue.h.
|
pure virtual |
The actual implementation of the command.
This is called from the realtime thread. Overwritten in the derived class.
Implemented in apf::RtList< T * >::AddCommand, apf::RtList< T * >::RemCommand, and apf::RtList< T * >::ClearCommand.
Referenced by apf::CommandQueue::process_commands(), and apf::CommandQueue::push().
|
pure virtual |
Cleanup of resources.
This is called from the non-realtime thread. Overwritten in the derived class.
Implemented in apf::RtList< T * >::AddCommand, apf::RtList< T * >::RemCommand, and apf::RtList< T * >::ClearCommand.