arduino-audio-tools
Loading...
Searching...
No Matches
src
AudioTools
Concurrency
ITask.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
audio_tools
{
4
10
class
ITask
{
11
public
:
12
virtual
~ITask
() =
default
;
13
virtual
bool
begin
(std::function<
void
()> process) = 0;
14
virtual
void
end
() = 0;
15
};
16
17
}
// namespace audio_tools
audio_tools::ITask
Interface for a task that can be started and stopped.
Definition
ITask.h:10
audio_tools::ITask::~ITask
virtual ~ITask()=default
audio_tools::ITask::begin
virtual bool begin(std::function< void()> process)=0
audio_tools::ITask::end
virtual void end()=0
audio_tools
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition
AudioCodecsBase.h:10
Generated by
1.9.8