Expand description
Typed indices into the crate::XtceDb arenas.
The IR stores every entity in a Vec and refers to it by a u32 newtype rather than by
Rc<RefCell<..>> or HashMap<String, ..>. That keeps the model Send + Sync, makes
cloning cheap, gives the code generator a stable numbering to emit, and turns reference
following into an array index instead of a hash lookup.
The newtypes are distinct so that a ParamId can never be used where a ContainerId
is expected.
Structsยง
- Container
Id - Index of a
SequenceContainer. - Meta
Command Id - Index of a
MetaCommand. - ParamId
- Index of a
Parameter. - Space
System Id - Index of a
SpaceSystem. - Span
- A contiguous slice of a shared arena, stored in two words.
- TypeId
- Index of a parameter type.