libtcspc C++ API
Streaming TCSPC and time tag data processing
Loading...
Searching...
No Matches

Description

Matchers for use with tcspc::match and tcspc::match_replace.

These objects are essentially predicates: they define the member auto operator()(Event const &event) const -> bool, where Event const & must be implicitly convertible from the event type being matched by the processor. In general-purpose matchers, Event is often a template parameter of the operator()(). The function call operator returns true if the event was matched; otherwise false.

(Note that lambdas can also be used as matchers: tcspc::always_matcher() is equivalent to [](auto const &) { return true; }.)

Classes

class  tcspc::always_matcher
 Matcher that matches all events. More...
class  tcspc::channel_matcher< DataTypes >
 Matcher that matches a single channel. More...
class  tcspc::never_matcher
 Matcher that matches no event. More...