/*
 * MATLAB Compiler: 4.18 (R2012b)
 * Date: Sat Apr 25 10:48:32 2015
 * Arguments: "-B" "macro_default" "-W" "java:KalmanFilterJava,KalmanFilterJava" "-T" 
 * "link:lib" "-d" "C:\\Users\\Administrator\\Desktop\\Oil Gas Data 
 * 2\\Identification\\KalmanFilterJava\\src" "-w" "enable:specified_file_mismatch" "-w" 
 * "enable:repeated_file" "-w" "enable:switch_ignored" "-w" "enable:missing_lib_sentinel" 
 * "-w" "enable:demo_license" "-v" 
 * "class{KalmanFilterJava:C:\\Users\\Administrator\\Desktop\\Oil Gas Data 
 * 2\\Identification\\KalmanFilterJava.m}" 
 */

package KalmanFilterJava;

import com.mathworks.toolbox.javabuilder.*;
import com.mathworks.toolbox.javabuilder.internal.*;

/**
 * <i>INTERNAL USE ONLY</i>
 */
public class KalmanFilterJavaMCRFactory
{
   
    
    /** Component's uuid */
    private static final String sComponentId = "KalmanFilter_C420AD2E9CEEB2D87ABF909D340A8977";
    
    /** Component name */
    private static final String sComponentName = "KalmanFilterJava";
    
   
    /** Pointer to default component options */
    private static final MWComponentOptions sDefaultComponentOptions = 
        new MWComponentOptions(
            MWCtfExtractLocation.EXTRACT_TO_CACHE, 
            new MWCtfClassLoaderSource(KalmanFilterJavaMCRFactory.class)
        );
    
    
    private KalmanFilterJavaMCRFactory()
    {
        // Never called.
    }
    
    public static MWMCR newInstance(MWComponentOptions componentOptions) throws MWException
    {
        if (null == componentOptions.getCtfSource()) {
            componentOptions = new MWComponentOptions(componentOptions);
            componentOptions.setCtfSource(sDefaultComponentOptions.getCtfSource());
        }
        return MWMCR.newInstance(
            componentOptions, 
            KalmanFilterJavaMCRFactory.class, 
            sComponentName, 
            sComponentId,
            new int[]{8,0,0}
        );
    }
    
    public static MWMCR newInstance() throws MWException
    {
        return newInstance(sDefaultComponentOptions);
    }
}
