Lightweight data components for HAPI and embedded systems.
Provides owned values, references, ranges, defaults and change tracking with zero runtime overhead.
Data<T>— owned runtime dataDataRef<T&>— reference to external variableText/TextRef— string handlingWatch<>— automatic change detectionNumRange<>/StaticNumRange<>— value limiting and steppingDefault<T>— default value injection- Full CRTP /
APIOf/Chaincompatibility
#include "oneData.h"
using namespace hapi::data;
Text label = "Status";
Int value = 42;
auto volume = MenuData<int>{75}; // menu-extended version
if (volume.changed()) {
// ...
}