|
libtcspc C++ API
Streaming TCSPC and time tag data processing
|
Processor that type-erases the downstream processor.
| EventList | the event set handled by the processor |
If the downstream is not introspectable, the introspection graph is truncated at the type-erasure boundary (the downstream does not appear).
Public Member Functions | |
| type_erased_processor () | |
| Construct with a stub downstream processor. | |
| template<typename Downstream> | |
| type_erased_processor (Downstream downstream) | |
| Construct with the given downstream processor. | |
| void | flush () |
| Implements processor requirement. | |
| template<typename Event> | |
| void | handle (Event &&event) |
| Implements processor requirement. | |
| auto | introspect_graph () const -> processor_graph |
| Implements processor requirement. | |
| auto | introspect_node () const -> processor_info |
| Implements processor requirement. | |
|
inline |
Construct with a stub downstream processor.
The stub processor discards all events.
|
inlineexplicit |
Construct with the given downstream processor.
The downstream processor must handle all of the events in EventList.
| downstream | downstream processor |