Class ActiveAlgorithm

java.lang.Object
org.yamcs.algorithms.ActiveAlgorithm

public class ActiveAlgorithm extends Object
This class stores some info related to one active algorithm
  • Field Details

  • Constructor Details

  • Method Details

    • getAlgorithm

      public org.yamcs.xtce.Algorithm getAlgorithm()
    • getExecutionContext

      public AlgorithmExecutionContext getExecutionContext()
    • update

      public boolean update(ProcessingData data)
    • runAlgorithm

      public List<ParameterValue> runAlgorithm(long acqTime, long genTime, ProcessingData data)
    • propagateErrorToListeners

      protected void propagateErrorToListeners(List<RawEngValue> inputValues, String errorMsg)
    • addExecListener

      public void addExecListener(AlgorithmExecListener listener)
    • removeExecListener

      public void removeExecListener(AlgorithmExecListener listener)
    • getErrorMessage

      public String getErrorMessage()
      gets the last error message produced by the algorithm or null if it never produced an error message
    • getErrorTime

      public long getErrorTime()
      gets the system time (wall clock time) when the last error message was produced
    • getErrorCount

      public long getErrorCount()
      Gets the number of errors produced by the algorithm
    • getScope

      public org.yamcs.xtce.Algorithm.Scope getScope()
    • getStatus

      public org.yamcs.protobuf.AlgorithmStatus.Builder getStatus()
    • getInputList

      public List<org.yamcs.xtce.InputParameter> getInputList()
    • getOutputList

      public List<org.yamcs.xtce.OutputParameter> getOutputList()
    • getTriggerSet

      public org.yamcs.xtce.TriggerSetType getTriggerSet()
    • getName

      public String getName()
    • toString

      public String toString()
      Overrides:
      toString in class Object