java.lang.Object
org.yamcs.algorithms.AlgorithmTrace
- All Implemented Interfaces:
AlgorithmExecListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidalgorithmError(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 successfullyorg.yamcs.protobuf.AlgorithmTracetoProto()
-
Field Details
-
MAX_RUNS
public static final int MAX_RUNS- See Also:
-
MAX_LOGS
public static final int MAX_LOGS- See Also:
-
-
Constructor Details
-
AlgorithmTrace
public AlgorithmTrace()
-
-
Method Details
-
addLog
-
algorithmRun
public void algorithmRun(List<RawEngValue> inputValues, Object returnValue, List<ParameterValue> outputValues) Description copied from interface:AlgorithmExecListenerCalled when the algorithm has run successfully- Specified by:
algorithmRunin interfaceAlgorithmExecListener- 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
Description copied from interface:AlgorithmExecListenerCalled when the algorithm produced an error- Specified by:
algorithmErrorin interfaceAlgorithmExecListener
-
toProto
public org.yamcs.protobuf.AlgorithmTrace toProto()
-