libtcspc C++ API
Streaming TCSPC and time tag data processing
Loading...
Searching...
No Matches
tcspc::histogram_array_progress_event< NumericTraits > Struct Template Reference

Description

template<typename NumericTraits = default_numeric_traits>
struct tcspc::histogram_array_progress_event< NumericTraits >

Event representing a progress update of a histogram array.

This event is used to report updates to each element of a histogram array. A view of the entire histogram array is included.

Template Parameters
NumericTraitsnumeric traits specifying bin_type

Public Attributes

bucket< typename NumericTraits::bin_type > data_bucket
 View of the histogram array.
std::size_t valid_size
 Size of the updated part of the histogram array.

Friends

auto operator<< (std::ostream &s, histogram_array_progress_event const &e) -> std::ostream &
 Stream insertion operator.
auto operator== (histogram_array_progress_event const &lhs, histogram_array_progress_event const &rhs) noexcept -> bool=default
 Equality comparison operator.

Member Data Documentation

◆ data_bucket

template<typename NumericTraits = default_numeric_traits>
bucket<typename NumericTraits::bin_type> tcspc::histogram_array_progress_event< NumericTraits >::data_bucket

View of the histogram array.

Indices 0 through valid_size contain data updated in the current scan. The remaining indices may contain invalid data unless otherwise specified.


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