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:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
keepAllData | boolean | <optional> | false | This 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:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
input | PathBuilding.Pipeline.Input | Newly added stroke data that must be processed | ||
type | PathBuilding.Pipeline.SegmentType | <optional> | DataSequenceProcessor.SegmentType.INTEGRAL | Input type |
lastSegment | boolean | <optional> | true | Applicable for SegmentType.ADDITION only, describe end of the input |
reset()
Resets the processor to its initial state