Package org.yamcs.algorithms
Interface AlgorithmExecListener
- All Known Implementing Classes:
AlgorithmTrace,AlgorithmVerifier
public interface AlgorithmExecListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidalgorithmError(List<RawEngValue> inputValues, String errorMsg) Called when the algorithm produced an errorvoidalgorithmRun(List<RawEngValue> inputValues, Object returnValue, List<ParameterValue> outputValues) Called when the algorithm has run successfully
-
Method Details
-
algorithmRun
void algorithmRun(List<RawEngValue> inputValues, Object returnValue, List<ParameterValue> outputValues) Called when the algorithm has run successfully- Parameters:
inputValues- - may be null if the algorithm does not have any input values or does not keep track of themreturnValue- - may be null if the algorithm does not return anythingoutputValues- - may be empty if there is no output value
-
algorithmError
Called when the algorithm produced an error- Parameters:
inputValues-errorMsg-
-