|
libtcspc C++ API
Streaming TCSPC and time tag data processing
|
Processors that stop processing when a given event is received.
Functions | |
| template<typename EventList, typename Downstream> | |
| auto | tcspc::stop (std::string message_prefix, Downstream downstream) |
| Create a processor that ends the stream when a given event type is received. | |
| template<typename EventList, typename Exception = std::runtime_error, typename Downstream> | |
| auto | tcspc::stop_with_error (std::string message_prefix, Downstream downstream) |
| Create a processor that ends the stream with an error when a given event type is received. | |
| auto tcspc::stop | ( | std::string | message_prefix, |
| Downstream | downstream ) |
Create a processor that ends the stream when a given event type is received.
| EventList | event types that should cause stream to end |
| Downstream | downstream processor type |
| message_prefix | error message prefix |
| downstream | downstream processor |
| auto tcspc::stop_with_error | ( | std::string | message_prefix, |
| Downstream | downstream ) |
Create a processor that ends the stream with an error when a given event type is received.
| EventList | event types that should cause stream to end |
| Exception | exception type to use (must be constructible from std::string) |
| Downstream | downstream processor type |
| message_prefix | error message prefix |
| downstream | downstream processor |