Class: DcpHEvents
Defined in: workingtitle-instruments-wt21/shared/DCP/DcpHEvents.ts:35
HEvents for the DCP
Constructors
Constructor
new DcpHEvents():
DcpHEvents
Returns
DcpHEvents
Methods
mapHEventToDcpEvent()
staticmapHEventToDcpEvent(hEvent,instrumentIndex):undefined|DcpEvent
Defined in: workingtitle-instruments-wt21/shared/DCP/DcpHEvents.ts:43
Maps an H event to an DcpEvent
Parameters
| Parameter | Type | Description |
|---|---|---|
hEvent | string | the raw H event string |
instrumentIndex | number | The index of the instrument |
Returns
undefined | DcpEvent
DcpEvent the mapped event
Throws
if the event is invalid or unmapped