Skip to main content

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()​

static mapHEventToDcpEvent(hEvent): undefined | DcpEvent

Defined in: workingtitle-instruments-wt21/shared/DCP/DcpHEvents.ts:42

Maps an H event to an DcpEvent

Parameters​

ParameterTypeDescription
hEventstringthe raw H event string

Returns​

undefined | DcpEvent

DcpEvent the mapped event

Throws​

if the event is invalid or unmapped