All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.scos2k.ol.OLExecutorFactory Maven / Gradle / Ivy

Go to download

Implements SCOS 2000 MIB loader including executors for OL expressions and decoding of special SCOS 2000 data types

There is a newer version: 0.5.0
Show newest version
package org.yamcs.scos2k.ol;

import java.util.Arrays;
import java.util.List;

import org.yamcs.algorithms.AlgorithmException;
import org.yamcs.algorithms.AlgorithmExecutionContext;
import org.yamcs.algorithms.AlgorithmExecutor;
import org.yamcs.algorithms.AlgorithmExecutorFactory;
import org.yamcs.xtce.CustomAlgorithm;

public class OLExecutorFactory implements AlgorithmExecutorFactory {
    
    @Override
    public AlgorithmExecutor makeExecutor(CustomAlgorithm alg, AlgorithmExecutionContext execCtx) throws AlgorithmException {
        return new OLExecutor(alg, execCtx);
    }

    @Override
    public List getLanguages() {
        return Arrays.asList(OLAlgorithmEngine.LANGUAGE_NAME);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy