Klasse MathCalculatorProcessor

java.lang.Object
net.simplace.pipe.control.FWProcessor
net.simplace.pipe.processors.MathCalculatorProcessor

public class MathCalculatorProcessor extends FWProcessor
This processor is there for easy math calulations within maps, numbers, lists aso. If a Map is evaluated, this has to be #0 in the parameter list and is taken as base of output. Same for Lists.
Required input parameters:
  • Key #0, #1, ...: References-key to @link Map, List, Integer, Double, Long}-object. Several of these parameters are allowed.
  • Key rule: arithmetical rule on raster data with wildcards '#0', '#1' ... for the raster objects in the list. See OperationTreeParser for details about the syntax and allowed operators.
  • Key resultParamKey: Output parameter key where the result data is stored in
Autor:
Andreas Enders
  • Felddetails

  • Konstruktordetails

    • MathCalculatorProcessor

      public MathCalculatorProcessor()
      Default constructor for this processor.
  • Methodendetails

    • checkInParameterMap

      public boolean checkInParameterMap()
      Checks whether the in-channel contains all required parameters.
      Setzt außer Kraft:
      checkInParameterMap in Klasse FWProcessor
      Gibt zurück:
      true if not overridden by implementations
    • process

      protected boolean process() throws PipeLineException
      Calculated the arithmetical rule specified by the in-channel parameters. First all in-channel parameters are checked.
      Angegeben von:
      process in Klasse FWProcessor
      Gibt zurück:
      ever true
      Löst aus:
      PipeLineException - in case of errors
      Siehe auch: