Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CellIdentificationNode<InOut>

Cell identification processing node

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

graph

graph: any

Graph shape

name

name: string

Name of the node. Does not have to be unique.

Protected options

uid

uid: string = ...

Unique identifier of node.

Readonly Static captureRejectionSymbol

captureRejectionSymbol: typeof captureRejectionSymbol

Static captureRejections

captureRejections: boolean

Sets or gets the default captureRejection value for all emitters.

Static defaultMaxListeners

defaultMaxListeners: number

Readonly Static errorMonitor

errorMonitor: typeof errorMonitor

This symbol shall be used to install a listener for only monitoring 'error' events. Listeners installed using this symbol are called before the regular 'error' listeners are called.

Installing a listener using this symbol does not change the behavior once an 'error' event is emitted, therefore the process will still crash if no regular 'error' listener is installed.

Accessors

inlets

  • get inlets(): Inlet<In>[]

model

  • get model(): Model<any, any>
  • Graph this model is part of

    Returns Model<any, any>

    Positioning model

outlets

  • get outlets(): Outlet<Out>[]

Methods

addListener

emit

  • emit(name: string | symbol, ...args: any[]): boolean
  • emit(event: "available"): boolean
  • emit(name: "completed", e: PushCompletedEvent): boolean
  • emit(name: "error", e: PushError): boolean
  • emit(name: "ready"): boolean
  • emit(name: "destroy"): boolean

emitAsync

  • emitAsync(type: string | symbol, ...args: any[]): Promise<boolean>

eventNames

  • eventNames(): (string | symbol)[]

Protected findNodeDataService

Protected findObjectByUID

  • findObjectByUID(uid: string, dataFrame?: InOut, type?: string): Promise<DataObject>

getMaxListeners

  • getMaxListeners(): number

Protected getNodeData

  • getNodeData(dataObject: DataObject): Promise<any>

getOptions

isAvailable

  • isAvailable(): boolean

isReady

  • isReady(): boolean

listenerCount

  • listenerCount(type: string | symbol): number

listeners

  • listeners(event: string | symbol): Function[]

logger

  • logger(level: string, log: any): void

off

  • Parameters

    • event: string | symbol
    • listener: (...args: any[]) => void
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns CellIdentificationNode<InOut>

on

once

onceAvailable

  • onceAvailable(): Promise<void>

onceCompleted

  • onceCompleted(frameUID: string): Promise<PushEvent>

prependListener

prependOnceListener

  • prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): CellIdentificationNode<InOut>

process

  • process(frame: InOut, options?: GraphOptions): Promise<InOut>

processObject

processRelativePositions

pull

push

  • push(data: InOut | InOut[], options?: PushOptions): Promise<void>

rawListeners

  • rawListeners(event: string | symbol): Function[]

removeAllListeners

removeListener

setMaxListeners

Protected setNodeData

setOptions

Static listenerCount

  • listenerCount(emitter: EventEmitter, event: string | symbol): number
  • deprecated

    since v4.0.0

    Parameters

    • emitter: EventEmitter
    • event: string | symbol

    Returns number

Static on

  • on(emitter: EventEmitter, event: string): AsyncIterableIterator<any>
  • Parameters

    • emitter: EventEmitter
    • event: string

    Returns AsyncIterableIterator<any>

Static once

  • once(emitter: NodeEventTarget, event: string | symbol): Promise<any[]>
  • once(emitter: DOMEventTarget, event: string): Promise<any[]>
  • Parameters

    • emitter: NodeEventTarget
    • event: string | symbol

    Returns Promise<any[]>

  • Parameters

    • emitter: DOMEventTarget
    • event: string

    Returns Promise<any[]>