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

Description

Concept that is satisfied when T conforms to the libtcspc timing generator interface for trigger event type TriggerEvent.

Determines whether T is move-constructible and provides the member functions trigger(), peek(), and pop() with the signatures and return types documented at Timing generators. The abstime type used for peek() is decltype(TriggerEvent::abstime).

Concept definition

template<typename T, typename TriggerEvent>
std::move_constructible<T> &&
requires(T &g, T const &cg, TriggerEvent const &event) {
{ g.trigger(event) } -> std::same_as<void>;
{
cg.peek()
} -> std::same_as<
std::optional<decltype(std::declval<TriggerEvent>().abstime)>>;
{ g.pop() } -> std::same_as<void>;
}
Concept that is satisfied when T conforms to the libtcspc timing generator interface for trigger even...
Definition generate.hpp:36