|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
Which dictionary an entry came from. More...
#include <esi_entry.h>
Public Types | |
| enum class | Kind : uint8_t { Device , Module } |
| The device's own dictionary, or a module plugged into one of its slots. More... | |
Public Attributes | |
| Kind | kind = Kind::Device |
| uint32_t | moduleIdent = 0 |
| 0 for the device dictionary. | |
| int32_t | slot = -1 |
| −1 for the device dictionary; the 0-based slot number otherwise. | |
| uint32_t | indexOffset = 0 |
Offset actually applied to rawIndex to arrive at index. | |
Which dictionary an entry came from.
A flat table cannot be read back by index alone — 0x6040 looks the same whether the device or a module declared it — so every entry records where it came from.
|
strong |
| uint32_t mm::etg::EsiEntrySource::indexOffset = 0 |
Offset actually applied to rawIndex to arrive at index.
| Kind mm::etg::EsiEntrySource::kind = Kind::Device |
| uint32_t mm::etg::EsiEntrySource::moduleIdent = 0 |
0 for the device dictionary.
| int32_t mm::etg::EsiEntrySource::slot = -1 |
−1 for the device dictionary; the 0-based slot number otherwise.