Class ScriptAlgorithmExecutorFactory

java.lang.Object
org.yamcs.algorithms.ScriptAlgorithmExecutorFactory
All Implemented Interfaces:
AlgorithmExecutorFactory

public class ScriptAlgorithmExecutorFactory extends Object implements AlgorithmExecutorFactory
Handles the creation of algorithm executors for script algorithms for a given language and scriptEngine (currently javascript or python are supported).

Each algorithm is created as a function in the scriptEngine. There might be multiple executors for the same algorithm: for example in the command verifier there will be one algorithm executor for each command. However there will be only one function created in the script engine.