Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
mm::etg::EsiEntrySource Struct Reference

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.
 

Detailed Description

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.

Member Enumeration Documentation

◆ Kind

enum class mm::etg::EsiEntrySource::Kind : uint8_t
strong

The device's own dictionary, or a module plugged into one of its slots.

Enumerator
Device 
Module 

Member Data Documentation

◆ indexOffset

uint32_t mm::etg::EsiEntrySource::indexOffset = 0

Offset actually applied to rawIndex to arrive at index.

◆ kind

Kind mm::etg::EsiEntrySource::kind = Kind::Device

◆ moduleIdent

uint32_t mm::etg::EsiEntrySource::moduleIdent = 0

0 for the device dictionary.

◆ slot

int32_t mm::etg::EsiEntrySource::slot = -1

−1 for the device dictionary; the 0-based slot number otherwise.


The documentation for this struct was generated from the following file: