Tkrzw
Public Member Functions | List of all members
tkrzw::TaskQueue::Task Class Referenceabstract

Interface of a task. More...

#include <tkrzw_thread_util.h>

Public Member Functions

virtual ~Task ()=default
 Destructor. More...
 
virtual void Do ()=0
 Do the task. More...
 

Detailed Description

Interface of a task.

Constructor & Destructor Documentation

◆ ~Task()

virtual tkrzw::TaskQueue::Task::~Task ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Do()

virtual void tkrzw::TaskQueue::Task::Do ( )
pure virtual

Do the task.

Implemented in tkrzw::TaskQueue::TaskWithLambda.