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

Description

The default data type set.

This data type set is the default for the DataTypes template parameter in most events, processors, and auxiliary objects that require a data type set.

Custom data type sets 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.

Member Typedef Documentation

◆ abstime_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

Count type.

This is used in events carrying a count of detections.


The documentation for this struct was generated from the following file: