|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
Value metadata for an object or one of its subindices (ETG.2000 ObjectInfoType).
More...
#include <esi.h>
Classes | |
| struct | SubItem |
Out-of-line definition of the recursive ObjectInfoType/SubItem; see the declaration inside EsiObject::Info. More... | |
Public Attributes | |
| std::vector< uint8_t > | minData |
| std::vector< uint8_t > | maxData |
| std::vector< uint8_t > | defaultData |
| std::optional< int64_t > | minValue |
| std::optional< int64_t > | maxValue |
| std::optional< int64_t > | defaultValue |
| std::optional< std::string > | defaultString |
| std::optional< std::string > | displayName |
Plain xs:string at this level, not a NameType. | |
| std::optional< uint32_t > | unit |
Packed ETG.1004 notation; see esiUnitSymbol. | |
| bool | hasScaling = false |
A <Scaling> child was seen; not modelled. | |
| std::vector< SubItem > | subItems |
Value metadata for an object or one of its subindices (ETG.2000 ObjectInfoType).
Recursive by schema: an Info holds SubItem*, each of which holds another Info. The XSD models the payload as an xs:choice of four alternatives, flattened here:
defaultString — a plain-text default;minData / maxData / defaultData — xs:hexBinary, little-endian. This is the branch real files overwhelmingly use;minValue / maxValue / defaultValue — the obsolete HexDecValue branch, still emitted occasionally by vendor toolchains;subItems — the composite branch.An empty byte vector means the element was absent. The byte length is not guaranteed to equal ceil(bitSize/8) — real files disagree — which buildDeviceEntries reports as a warning rather than a failure.
| std::vector<uint8_t> mm::etg::EsiObject::Info::defaultData |
| std::optional<std::string> mm::etg::EsiObject::Info::defaultString |
| std::optional<int64_t> mm::etg::EsiObject::Info::defaultValue |
| std::optional<std::string> mm::etg::EsiObject::Info::displayName |
Plain xs:string at this level, not a NameType.
| bool mm::etg::EsiObject::Info::hasScaling = false |
A <Scaling> child was seen; not modelled.
| std::vector<uint8_t> mm::etg::EsiObject::Info::maxData |
| std::optional<int64_t> mm::etg::EsiObject::Info::maxValue |
| std::vector<uint8_t> mm::etg::EsiObject::Info::minData |
| std::optional<int64_t> mm::etg::EsiObject::Info::minValue |
| std::vector<SubItem> mm::etg::EsiObject::Info::subItems |
| std::optional<uint32_t> mm::etg::EsiObject::Info::unit |
Packed ETG.1004 notation; see esiUnitSymbol.