Class AlgorithmTrace

java.lang.Object
org.yamcs.algorithms.AlgorithmTrace
All Implemented Interfaces:
AlgorithmExecListener

public class AlgorithmTrace extends Object implements AlgorithmExecListener
  • Field Details

  • Constructor Details

    • AlgorithmTrace

      public AlgorithmTrace()
  • Method Details

    • addLog

      public void addLog(String msg)
    • algorithmRun

      public void algorithmRun(List<RawEngValue> inputValues, Object returnValue, List<ParameterValue> outputValues)
      Description copied from interface: AlgorithmExecListener
      Called when the algorithm has run successfully
      Specified by:
      algorithmRun in interface AlgorithmExecListener
      Parameters:
      inputValues - - may be null if the algorithm does not have any input values or does not keep track of them
      returnValue - - may be null if the algorithm does not return anything
      outputValues - - may be empty if there is no output value
    • algorithmError

      public void algorithmError(List<RawEngValue> inputValues, String errorMsg)
      Description copied from interface: AlgorithmExecListener
      Called when the algorithm produced an error
      Specified by:
      algorithmError in interface AlgorithmExecListener
    • toProto

      public org.yamcs.protobuf.AlgorithmTrace toProto()