ParentDeviceLookupStatusSignalT(UInt16, Int32, FuncDictionaryInt32, StatusSignalT, String, Boolean) Method
Looks up a status signal and inserts it into the local dictionary
if not found
Namespace: CTRE.Phoenix6.HardwareAssembly: Phoenix6 (in Phoenix6.dll) Version: 1.0.0
protected StatusSignal<T> LookupStatusSignal<T>(
ushort spn,
int mapIter,
Func<Dictionary<int, StatusSignal<T>>> generator,
string signalName,
bool reportOnConstruction
)
member LookupStatusSignal :
spn : uint16 *
mapIter : int *
generator : Func<Dictionary<int, StatusSignal<'T>>> *
signalName : string *
reportOnConstruction : bool -> StatusSignal<'T>
- spn UInt16
- SPN index to lookup
- mapIter Int32
- Where this signal lives in the map if this is a mapped signal
- generator FuncDictionaryInt32, StatusSignalT
- The generator for a map
- signalName String
- Name of signal
- reportOnConstruction Boolean
- Whether to report errors on construction
- T
- Generic type of StatusSignal to get
StatusSignalTStatus code of the lookup