Skip to main content

chronon::observe::TimelineGauge

Push-model gauge with optional sample-on-change filtering.

#include <TimelineObserve.hpp>

Public Functions

Name
template <typename T >
void
sampleOnChange(T value)
template <typename Cat ,typename T >
void
sampleOnChange(Cat category, T value)
template <typename T >
void
sample(T value)
template <typename Cat ,typename T >
void
sample(Cat category, T value)
TimelineGauge(ObservableUnit * owner, std::string_view name, std::string_view unit ={})

Public Functions Documentation

function sampleOnChange

template <typename T >
inline void sampleOnChange(
T value
)

function sampleOnChange

template <typename Cat ,
typename T >
inline void sampleOnChange(
Cat category,
T value
)

function sample

template <typename T >
inline void sample(
T value
)

function sample

template <typename Cat ,
typename T >
inline void sample(
Cat category,
T value
)

function TimelineGauge

inline TimelineGauge(
ObservableUnit * owner,
std::string_view name,
std::string_view unit ={}
)

Updated on 2026-06-22 at 09:17:04 +0000