|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
One device's object dictionary as read from the bus, and what the read did not get. More...
#include <fieldbus_driver.h>
Public Attributes | |
| std::vector< OdEntry > | entries |
One per (index, subindex) pair the device answered for. | |
| int | missingEntries = 0 |
| Entries asked for and never answered. Above zero, do not cache. | |
One device's object dictionary as read from the bus, and what the read did not get.
missingEntries counts the (index, subindex) pairs the device was asked about and did not answer, after the driver exhausted its retries on each of them. It is separate from the error channel because an enumeration that loses a few entries still returns a usable dictionary: the device comes up, and every entry that was read is correct.
A caller that persists the dictionary must refuse to persist one with missingEntries above zero. A cache file is keyed on the device's identity and read back on every later scan, so a short dictionary written once is what the master believes for as long as the file exists — on that host alone, which is a fault nobody else can reproduce and nothing corrects.
| std::vector<OdEntry> mm::comm::OdRead::entries |
One per (index, subindex) pair the device answered for.
| int mm::comm::OdRead::missingEntries = 0 |
Entries asked for and never answered. Above zero, do not cache.