Package org.openquark.cal.runtime

Examples of org.openquark.cal.runtime.MachineType


       
        String machineTypeProperty = System.getProperty(MachineConfiguration.MACHINE_TYPE_PROP);

        // Lecc is the default machine type.
        boolean useGMachine = machineTypeProperty != null && machineTypeProperty.equals(MachineType.G.toString());
        MachineType machineType = useGMachine ? MachineType.G : MachineType.LECC;
       
        return getProgramManager(machineType, resourceRepositoryProvider, resourceAccess);
    }
View Full Code Here


                ProgramManager.getProgramManager(carAwareProgramResourceRepositoryProvider, workspace) :
                    ProgramManager.getProgramManager(machineTypeOverride, carAwareProgramResourceRepositoryProvider, workspace);

               
        // Note: if the g-machine also uses a resource manager, we can remove the if test.
        final MachineType realMachineType = programManager.getMachineType();
        if (realMachineType == MachineType.LECC) {
            // Register the program resource manager so that the resources can be managed by the workspace.
            // Override default if the source generation root is overridden.
            final ResourceManager fileSystemBasedProgramResourceManager;
            if (sourceGenerationRootOverride != null) {
View Full Code Here

TOP

Related Classes of org.openquark.cal.runtime.MachineType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.