Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Device

Represents an abstract device, capable of taking certain kinds of messages.

Hierarchy

  • Device

Index

Constructors

constructor

  • new Device(index: number, name: string, allowedMsgsObj: object): Device
  • Parameters

    • index: number
    • name: string
    • allowedMsgsObj: object

    Returns Device

Accessors

AllowedMessages

  • get AllowedMessages(): string[]
  • Return a list of message types the device accepts.

    Returns string[]

Index

  • get Index(): number
  • Return the index of the device.

    Returns number

Name

  • get Name(): string
  • Return the name of the device.

    Returns string

Methods

MessageAttributes

  • Return the message attributes related to the given message

    Parameters

    • messageName: string

    Returns MessageAttributes

Static fromMsg

Generated using TypeDoc