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

Description

Concept that is satisfied when a processor handles the given event types and flush.

Determines whether the processor Proc handles all of the event types Events as well as flush().

This is equivalent to the logical AND of tcspc::handler_for<Proc, Events...> and tcspc::flushable<Proc>.

If the event handler(s) and/or flush() exist but any of them has a return type other than void, the concept is not satisfied.

Note
A satisfied concept indicates that Proc handles flush and the Events provided that Proc, Proc::flush(), and the relevant Proc::handle() overloads can be instantiated (if Proc is a template class). It is possible that instantiation will fail (due to static_assert failures or other issues) even if the concept is satisfied.

Concept definition

template<typename Proc, typename... Events>
concept processor = flushable<Proc> && handler_for<Proc, Events...>
Concept that is satisfied when a processor handles flushing.
Definition processor.hpp:34
Concept that is satisfied when a processor handles the given event types.
Definition processor.hpp:118
Concept that is satisfied when a processor handles the given event types and flush.
Definition processor.hpp:143