Class: AuralAlertSystemXmlAdapter
Adapts XML-defined aural alerts to AuralAlertSystem. Handles the registration of the alerts and management of alert state.
Constructors
constructor
• new AuralAlertSystemXmlAdapter(bus
, logicHost
, casSystem
, alertDefsRoot
, parser
): AuralAlertSystemXmlAdapter
Creates a new instance of AuralAlertSystemXmlAdapter.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
logicHost | CompositeLogicXMLHost | The XML logic host used to run this adapter's XML logic. |
casSystem | CasSystem | The CAS system. |
alertDefsRoot | null | Element | The root XML document element containing the aural alert definitions to use. |
parser | XmlAuralAlertParser | The parser to use to parse alert definitions from the XML document. |
Returns
Defined in
src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:314
Methods
start
▸ start(): void
Registers this adapter's alerts with AuralAlertSystem and starts automatically managing alert states.
Returns
void
Defined in
src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:338