Tkrzw
|
Task implementation with a lambda function. More...
#include <tkrzw_thread_util.h>
Public Member Functions | |
TaskWithLambda (TaskLambdaType lambda) | |
Constructor. More... | |
void | Do () override |
Do the task. More... | |
Public Member Functions inherited from tkrzw::TaskQueue::Task | |
virtual | ~Task ()=default |
Destructor. More... | |
Task implementation with a lambda function.
|
explicit |
Constructor.
lambda | A lambda function to process a task. |
|
overridevirtual |
Do the task.
Implements tkrzw::TaskQueue::Task.