14 ::dimval::MeterPerSecond,
17 ::comms::Icons::mdi::speedometer,
18 ::comms::Colors::mui::light_green[400])
21 ::dimval::MeterPerSecondSquared,
24 ::comms::Icons::mdi::axis_arrow,
25 ::comms::Colors::mui::red[400])
28 ::dimval::SquareMeter,
31 ::comms::Icons::mdi::vector_square,
32 ::comms::Colors::mui::green[400])
35 ::dimval::KilogramPerCubicMeter,
38 ::comms::Icons::mdi::weight_kilogram,
39 ::comms::Colors::mui::brown[400])
45 ::comms::Icons::mdi::water_outline,
46 ::comms::Colors::mui::blue_grey[400])
52 ::comms::Icon::from(
"ph:gauge"),
53 ::comms::Colors::mui::blue_grey[500])
59 ::comms::Icons::mdi::arrow_right_bold,
60 ::comms::Colors::mui::blue_grey[500])
Macros that expand into a CRTP unit/measure struct and a runtime auto-registration for it.
#define DIMVAL_DEFINE_MEASURE(Tag, BaseUnit, Id, Name, Icon, Color,...)
Define a measure struct in ::dimval and auto-register its descriptor.
Definition define.hpp:102
Practical / accepted units that mostly carry their own kind: clock drift, rotational frequency,...
Canonical SI units (base + derived) and accepted/practical alts.
Mechanics units: acceleration, area, density.