libtcspc C++ API
Streaming TCSPC and time tag data processing
Loading...
Searching...
No Matches
tcspc::acquisition_reader Concept Reference

Description

Concept that is satisfied when R conforms to the libtcspc acquisition reader interface for element type T.

Determines whether R is move-constructible and provides operator()(std::span<T>) returning std::optional<std::size_t>.

Concept definition

template<typename R, typename T>
std::move_constructible<R> && requires(R &r, std::span<T> buffer) {
{ r(buffer) } -> std::same_as<std::optional<std::size_t>>;
}
Concept that is satisfied when R conforms to the libtcspc acquisition reader interface for element ty...
Definition acquire.hpp:42
auto buffer(arg::threshold< std::size_t > threshold, access_tracker< buffer_accessor > &&tracker, Downstream downstream)
Create a processor that buffers events and emits them on a different thread.
Definition buffer.hpp:366