|
libtcspc C++ API
Streaming TCSPC and time tag data processing
|
Router that routes by channel number.
| N | the number of channels to route |
| DataTypes | data type set specifying channel_type |
Public Member Functions | |
| template<typename ChannelIndexPair> | |
| channel_router (std::array< ChannelIndexPair, N > const &channel_indices) | |
| Construct with channels and corresponding downstream indices. | |
| template<typename Event> | |
| auto | operator() (Event const &event) const -> std::size_t |
| Implements router requirement. | |
|
inlineexplicit |
Construct with channels and corresponding downstream indices.
| ChannelIndexPair | tuple-like type (DataTypes::channel_type, std::size_t) of channel_indices (usually deduced) |
| channel_indices | pairs of channels with downstream indices to route to |