-
Notifications
You must be signed in to change notification settings - Fork 32
Dictionary Construction
-
Dictionary data structure consisting of dictionary contents
-
If dictionary construction fails, an error and no output
-
Build the base identifier to component instance map: From the analysis, retrieve the
componentInstanceMap
. Traverse thecomponentInstance
map and for eachComponentInstance
-
Get the
baseId
andcomponent
and add to mapping frombaseId
tocomponent
-
-
Resolve identifiers and construct dictionary content maps (for commands, telemetry channels, events, parameters, records, and collections): Traverse
baseId
tocomponent
map and for each entry-
Build the resolved identifier to command map:
-
Get
commandMap
from thecomponent
-
Retrieve the
opcode
from the command and add it to thebaseId
to create theresolvedId
-
Add the
resolvedId
to mapping fromresolvedId
tocommand
-
-
Build the resolved identifier to telemetry channel map:
-
Get
tlmChannelMap
from thecomponent
-
Retrieve the
identifier
from the telemetry channel and add it to thebaseId
to create theresolvedId
-
Add the
resolvedId
to mapping fromresolvedId
totlmChannel
-
-
Build the resolved identifier to telemetry event map:
-
Get
eventMap
from thecomponent
-
Retrieve the
identifier
from the event and add it to thebaseId
to create theresolvedId
-
Add the
resolvedId
to mapping fromresolvedId
toevent
-
-
Build the resolved identifier to parameter map:
-
Get
paramMap
from thecomponent
-
Retrieve the
identifier
from the parameter and add it to thebaseId
to create theresolvedId
-
Add the
resolvedId
to mapping fromresolvedId
toparam
-
-
Build the resolved identifier to record map:
-
Get
recordMap
from thecomponent
-
Retrieve the
identifier
from the parameter and add it to thebaseId
to create theresolvedId
-
Add the
resolvedId
to mapping fromresolvedId
torecord
-
-
Build the resolved identifier to collection map:
-
Get
collectionMap
from thecomponent
-
Retrieve the
identifier
from the parameter and add it to thebaseId
to create theresolvedId
-
Add the
resolvedId
to mapping fromresolvedId
tocollection
-
-