OdEntry Class¶
A single subindex entry in the local Object Dictionary (FR-CO-001): value + declared data
type + access flags. Stored inside ObjectDictionary; not intended to be
constructed directly by callers — use the fluent Add* methods on the dictionary.
Inheritance Object → OdEntry
Remarks¶
The stored raw value is a little-endian byte array in the same layout SDO expedited encoding uses on the wire. This keeps the SDO server code path allocation-cheap (no round-trip through typed converters on every request) while typed accessors on ObjectDictionary preserve type-safety for local reads/writes.
Properties¶
OdEntry.Access Property¶
Access permissions (read-only / write-only / read-write).
Property Value¶
OdEntry.DataType Property¶
CiA 301 data type of the entry.
Property Value¶
OdEntry.Size Property¶
Fixed on-the-wire size in bytes for the entry's DataType. For Domain the value is variable and this property returns the current stored length.
Property Value¶
Methods¶
OdEntry.GetRawValue() Method¶
Snapshot of the raw little-endian bytes. Safe to hand out — callers get a fresh copy and cannot mutate the dictionary's private buffer.