vitrio
0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
vitrio
concurrency
completion_notifier.hpp
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
3
#pragma once
4
5
#include <vitrio/export.hpp>
6
7
#include <exception>
8
9
namespace
vitrio
10
{
11
19
class
VITRIO_API
completion_notifier
20
{
21
public
:
22
completion_notifier
() =
default
;
23
completion_notifier
(
const
completion_notifier
&other) =
default
;
24
completion_notifier
(
completion_notifier
&&other) =
default
;
25
virtual
~completion_notifier
() =
default
;
26
27
completion_notifier
&
28
operator=(
const
completion_notifier
&other) =
default
;
29
completion_notifier
&
30
operator=(
completion_notifier
&&other) =
default
;
31
44
virtual
void
notify_done
(std::exception_ptr error =
nullptr
) = 0;
45
};
46
47
}
// namespace vitrio
vitrio::completion_notifier
Where a finished unit of work is reported.
Definition
completion_notifier.hpp:20
vitrio::completion_notifier::notify_done
virtual void notify_done(std::exception_ptr error=nullptr)=0
Report that one unit of work has finished.
Generated by
1.9.8