|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
#include <cstdint>#include <nlohmann/json_fwd.hpp>#include <span>#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| struct | mm::etg::UnitType |
A dictionary-local unit definition (ETG.2000 UnitType, Dictionary/UnitTypes). More... | |
| struct | mm::etg::UnitNotation |
| One entry of the built-in ETG.1004 notation catalogue. More... | |
| struct | mm::etg::UnitParts |
| The four bytes of an ETG.1004 unit notation value, split out. More... | |
Namespaces | |
| namespace | mm |
| namespace | mm::etg |
Functions | |
| constexpr UnitParts | mm::etg::esiUnitParts (uint32_t unit) |
| Splits a packed ETG.1004 unit notation value into its four bytes. | |
| std::string | mm::etg::esiUnitSymbol (uint32_t unit, std::span< const UnitType > local={}) |
| Renders a packed unit notation value as a display symbol. | |
| void | mm::etg::to_json (nlohmann::json &j, const UnitType &unit) |
Serialises a UnitType to JSON (notationIndex, index, name, symbol). | |