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

Description

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

Determines whether the processor Proc handles all of the event types Events.

This is equivalent to the logical AND of tcspc::const_handler_for<Proc, Event> and tcspc::rvalue_handler_for<Proc, Event> over each Event in Events.

If the event handler(s) 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 the Events provided that Proc 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 that is satisfied when a processor handles an event type by const lvalue reference.
Definition processor.hpp:91
Concept that is satisfied when a processor handles the given event types.
Definition processor.hpp:118
Concept that is satisfied when a processor handles an event type by rvalue reference.
Definition processor.hpp:65