Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RICAddOnManager

RICAddOnManager

description

Handles the creation and management of RIC Add-Ons

Hierarchy

  • RICAddOnManager

Implements

Index

Constructors

Properties

_addOnFactoryMap: Dictionary<AddOnFactoryElem> = {}
_configuredAddOns: Dictionary<RICAddOnBase> = {}

Methods

  • clear(): void
  • getHWElemTypeStr(whoAmITypeCode: undefined | string, whoAmI: undefined | string): string
  • Parameters

    • whoAmITypeCode: undefined | string
    • whoAmI: undefined | string

    Returns string

  • getIDNoFromName(name: string): null | string
  • getInitCmds(): string[]
  • function

    getProcessedStaticAddons Get the add-ons that are static (their data do not get published from ricjs, eg buspixel ledeyes)

    Returns ROSSerialAddOnStatus[]

    the static add-ons processed

  • getStaticAddonIds(): number[]
  • function

    getStaticAddonIds Get the ids of the add-ons that are static (their data do not get published from ricjs, eg buspixel ledeyes)

    Returns number[]

    the ids of the static add-ons

  • function

    getStaticAddons Get the add-ons that are static (their data do not get published from ricjs, eg buspixel ledeyes)

    Returns RICAddOnBase[]

    the static add-ons unprocessed

  • processPublishedData(addOnID: number, statusByte: number, rawData: Uint8Array): null | ROSSerialAddOnStatus
  • processReportMsg(reportMsgs: RICReportMsg[], timeInitStart: number): void
  • registerHWElemType(typeName: string, addOnFamily: string, whoAmI: string, factoryFn: RICAddOnCreator): void

Generated using TypeDoc