herald  2.0.0
Classes | Typedefs | Functions
herald::analysis::sampling Namespace Reference

A set of structs compatible with, but not reliant upon, views and ranges in Herald. More...

Classes

struct  Sample
 The Sample taken from an object with ID of type SampledID. More...
 
struct  SampleIterator
 FWD DECLARATION. More...
 
struct  SampleList
 

Typedefs

using SampledID = std::size_t
 

Functions

template<typename... ValT, typename CommonValT = typename std::common_type_t<ValT...>, typename CommonValTValue = typename CommonValT::value_type>
 SampleList (ValT... valueList) -> SampleList< CommonValT, sizeof...(valueList), CommonValTValue >
 
template<typename T >
SampleIterator< T >::difference_type distance (SampleIterator< T > first, SampleIterator< T > last)
 for std::distance
 

Detailed Description

A set of structs compatible with, but not reliant upon, views and ranges in Herald.

Typedef Documentation

◆ SampledID

using herald::analysis::sampling::SampledID = typedef std::size_t

The unique ID of a source instance that has been sampled. E.g. 64 bit hash of some unique identifier in the source physical realm (unknown to the analysis engine)