vitrio 0.3.1
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
Loading...
Searching...
No Matches
detector_event_timeline_reader.hpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2
3#pragma once
4
5#include <vitrio/export.hpp>
6
7#include <cstdint>
8
9namespace vitrio
10{
11
14
29class VITRIO_API detector_event_timeline_reader
30{
31public:
32 detector_event_timeline_reader() noexcept;
33 detector_event_timeline_reader(
34 const detector_event_timeline_reader &other
35 ) = delete;
36 detector_event_timeline_reader(
37 detector_event_timeline_reader &&other
38 ) = delete;
39 virtual ~detector_event_timeline_reader();
40
41 detector_event_timeline_reader&
42 operator=(const detector_event_timeline_reader &other) = delete;
43 detector_event_timeline_reader&
44 operator=(detector_event_timeline_reader &&other) = delete;
45
53 get_descriptor() const noexcept = 0;
54
79 virtual void read(
80 std::uint64_t time_begin,
81 std::uint64_t time_end,
82 detector_event_timeline &destination
83 ) const = 0;
84};
85
86} // namespace vitrio
What is fixed for one acquisition of a detector that counts events: the grid its events are placed on...
Definition detector_event_timeline_descriptor.hpp:32
virtual const detector_event_timeline_descriptor & get_descriptor() const noexcept=0
Get the grid the events are placed on and the time they span.
virtual void read(std::uint64_t time_begin, std::uint64_t time_end, detector_event_timeline &destination) const =0
Read the events of a stretch of time.
The events a detector counted over a stretch of time.
Definition detector_event_timeline.hpp:39