|
libtcspc C++ API
Streaming TCSPC and time tag data processing
|
The default numeric traits.
These numeric traits are the default for the NumericTraits template parameter in most events, processors, and auxiliary objects that require numeric traits.
Custom numeric traits may (but need not) derive from this type and override some or all of the member type aliases.
Public Types | |
| using | abstime_type = i64 |
| Absolute time type. | |
| using | bin_index_type = u16 |
| Type of histogram bin index. | |
| using | bin_type = u16 |
| Type of histogram bin value (count). | |
| using | channel_type = i32 |
| Channel number type. | |
| using | count_type = u32 |
| Count type. | |
| using | datapoint_type = i32 |
| Type of datapoint for histogramming. | |
| using | difftime_type = i32 |
| Difference time type. | |
Absolute time type.
The default of i64 is chosen because 64-bit precision is reasonable (32-bit would overflow; 128-bit would hurt performance and is not required for most applications) and because we want to allow negative time stamps.
Count type.
This is used in events carrying a count of detections.