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

Description

Concept that is satisfied when a processor supports introspection.

Determines whether Proc implements the introspection interface that all processors are required to provide: introspect_node() returning tcspc::processor_info and introspect_graph() returning tcspc::processor_graph, both as const-qualified member functions.

If either function exists but has a different return type, the concept is not satisfied.

Concept definition

template<typename Proc>
concept introspectable = requires(Proc const &p) {
{ p.introspect_node() } -> std::same_as<processor_info>;
{ p.introspect_graph() } -> std::same_as<processor_graph>;
}
Concept that is satisfied when a processor supports introspection.
Definition introspect.hpp:198