vitrio
0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
vitrio
concurrency
task.hpp
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
3
#pragma once
4
5
#include <vitrio/export.hpp>
6
7
namespace
vitrio
8
{
9
17
class
VITRIO_API
task
18
{
19
public
:
20
task
() =
default
;
21
task
(
const
task
&other) =
default
;
22
task
(
task
&&other) =
default
;
23
virtual
~task
() =
default
;
24
25
task
& operator=(
const
task
&other) =
default
;
26
task
& operator=(
task
&&other) =
default
;
27
31
virtual
void
run
() = 0;
32
};
33
34
}
// namespace vitrio
vitrio::task
One unit of work an executor can run.
Definition
task.hpp:18
vitrio::task::run
virtual void run()=0
Run this unit of work.
Generated by
1.9.8