10#include "data_types.hpp"
43 return s <<
"datapoint(" << e.value <<
')';
68 return s <<
"bin_increment(" << e.bin_index <<
')';
82template <
typename DataTypes = default_data_types>
98 return s <<
"bin_increment_cluster(" << e.bin_indices <<
')';
126 return s <<
"histogram(" << e.data_bucket <<
')';
142template <
typename DataTypes = default_data_types>
158 return s <<
"concluding_histogram(" << e.data_bucket <<
')';
169template <
typename DataTypes = default_data_types>
184 return s <<
"histogram_array(" << e.data_bucket <<
')';
198template <
typename DataTypes = default_data_types>
223 return s <<
"histogram_array_progress(" << e.valid_size <<
", "
224 << e.data_bucket <<
')';
241template <
typename DataTypes = default_data_types>
258 return s <<
"concluding_histogram_array(" << e.data_bucket <<
')';
Value-semantic container for array data allowing use of custom storage.
Definition bucket.hpp:110
libtcspc namespace.
Definition acquire.hpp:29
Event representing a cluster of data points binned for histogramming.
Definition histogram_events.hpp:83
friend auto operator<<(std::ostream &s, bin_increment_cluster_event const &e) -> std::ostream &
Stream insertion operator for bin_increment_cluster_event.
Definition histogram_events.hpp:95
bucket< typename DataTypes::bin_index_type > bin_indices
The bin indices for the datapoints in the cluster.
Definition histogram_events.hpp:87
friend auto operator==(bin_increment_cluster_event const &lhs, bin_increment_cluster_event const &rhs) noexcept -> bool=default
Equality comparison operator.
Event representing data binned for histogramming.
Definition histogram_events.hpp:54
friend auto operator<<(std::ostream &s, bin_increment_event const &e) -> std::ostream &
Stream insertion operator.
Definition histogram_events.hpp:66
friend constexpr auto operator==(bin_increment_event const &lhs, bin_increment_event const &rhs) noexcept -> bool=default
Equality comparison operator.
DataTypes::bin_index_type bin_index
The histogram bin index to which the data value was mapped.
Definition histogram_events.hpp:58
Event representing the final result of accumulation of a histogram array.
Definition histogram_events.hpp:242
bucket< typename DataTypes::bin_type > data_bucket
View of the histogram array.
Definition histogram_events.hpp:246
friend auto operator==(concluding_histogram_array_event const &lhs, concluding_histogram_array_event const &rhs) noexcept -> bool=default
Equality comparison operator.
friend auto operator<<(std::ostream &s, concluding_histogram_array_event const &e) -> std::ostream &
Stream insertion operator.
Definition histogram_events.hpp:255
Event representing the final result of histogramming.
Definition histogram_events.hpp:143
friend auto operator<<(std::ostream &s, concluding_histogram_event const &e) -> std::ostream &
Stream insertion operator.
Definition histogram_events.hpp:155
bucket< typename DataTypes::bin_type > data_bucket
The accumulated histogram.
Definition histogram_events.hpp:147
friend auto operator==(concluding_histogram_event const &lhs, concluding_histogram_event const &rhs) noexcept -> bool=default
Equality comparison operator.
Event representing a datapoint for histogramming.
Definition histogram_events.hpp:24
friend auto operator<<(std::ostream &s, datapoint_event const &e) -> std::ostream &
Stream insertion operator.
Definition histogram_events.hpp:41
friend constexpr auto operator==(datapoint_event const &lhs, datapoint_event const &rhs) noexcept -> bool=default
Equality comparison operator.
typename DataTypes::datapoint_type datapoint_type
The data type.
Definition histogram_events.hpp:28
datapoint_type value
The datapoint value.
Definition histogram_events.hpp:33
Event representing an array of histograms.
Definition histogram_events.hpp:170
friend auto operator==(histogram_array_event const &lhs, histogram_array_event const &rhs) noexcept -> bool=default
Equality comparison operator.
bucket< typename DataTypes::bin_type > data_bucket
Histogram array, or view thereof.
Definition histogram_events.hpp:174
friend auto operator<<(std::ostream &s, histogram_array_event const &e) -> std::ostream &
Stream insertion operator.
Definition histogram_events.hpp:182
Event representing a progress update of a histogram array.
Definition histogram_events.hpp:199
bucket< typename DataTypes::bin_type > data_bucket
View of the histogram array.
Definition histogram_events.hpp:212
friend auto operator<<(std::ostream &s, histogram_array_progress_event const &e) -> std::ostream &
Stream insertion operator.
Definition histogram_events.hpp:220
std::size_t valid_size
Size of the updated part of the histogram array.
Definition histogram_events.hpp:203
friend auto operator==(histogram_array_progress_event const &lhs, histogram_array_progress_event const &rhs) noexcept -> bool=default
Equality comparison operator.
Event representing a single histogram.
Definition histogram_events.hpp:112
friend auto operator==(histogram_event const &lhs, histogram_event const &rhs) noexcept -> bool=default
Equality comparison operator.
friend auto operator<<(std::ostream &s, histogram_event const &e) -> std::ostream &
Stream insertion operator.
Definition histogram_events.hpp:124
bucket< typename DataTypes::bin_type > data_bucket
The histogram.
Definition histogram_events.hpp:116