Skip to main content

Class: DataSequenceProcessor

(abstract) PathBuilding.Pipeline.DataSequenceProcessor()

An abstract base class for pipeline stages that process a sequence of input items

Constructor

(abstract) new DataSequenceProcessor()

Properties:
NameTypeAttributesDefaultDescription
keepAllDataboolean<optional>falseThis flag indicates runtime strokes data should be accumulated for the current stage

Since:

  • version 3.0

Methods

process(input, typeopt, lastSegmentopt)

Invokes input processing of particular implementation

Parameters:
NameTypeAttributesDefaultDescription
inputPathBuilding.Pipeline.InputNewly added stroke data that must be processed
typePathBuilding.Pipeline.SegmentType<optional>DataSequenceProcessor.SegmentType.INTEGRALInput type
lastSegmentboolean<optional>trueApplicable for SegmentType.ADDITION only, describe end of the input

reset()

Resets the processor to its initial state

Home