java.lang.Object
org.yamcs.algorithms.AbstractAlgorithmExecutor
org.yamcs.algorithms.AbstractJavaExprExecutor
- All Implemented Interfaces:
AlgorithmExecutor
-
Field Summary
Fields inherited from class org.yamcs.algorithms.AbstractAlgorithmExecutor
algorithmDef, execCtx, inputValues, log -
Constructor Summary
ConstructorsConstructorDescriptionAbstractJavaExprExecutor(Algorithm algorithmDef, AlgorithmExecutionContext execCtx) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ObjectdoExecute(long acqTime, long genTime, List<ParameterValue> outputValues) execute(long acqTime, long genTime, ProcessingData data) Runs the associated algorithm with the latest InputParameters.Methods inherited from class org.yamcs.algorithms.AbstractAlgorithmExecutor
getAlgorithm, getExecutionContext, getInputArgument, getInputParameter, getOutputParameter, update, updateInput, updateInputArgument
-
Constructor Details
-
AbstractJavaExprExecutor
-
-
Method Details
-
execute
public AlgorithmExecutionResult execute(long acqTime, long genTime, ProcessingData data) throws AlgorithmException Description copied from interface:AlgorithmExecutorRuns the associated algorithm with the latest InputParameters.Should throw an exception if there is an error within the algorithm.
The error message and error count will be remembered and available to external clients via the API.
The processing data parameter is passed if required to calibrate the output values. It shall not be updated by the executor as it is done in the
ActiveAlgorithm- Returns:
- the output parameters, if any
- Throws:
AlgorithmException
-
doExecute
-