Class Core


  • public class Core
    extends java.lang.Object
    Core of robot framework.
    • Constructor Summary

      Constructors 
      Constructor Description
      Core​(java.lang.Class<?> p_inputFactoryClass, java.lang.Class<?> p_outputFactoryClass)
      Constructor collects I/O factory and initialized framework components.
    • Constructor Detail

      • Core

        public Core​(java.lang.Class<?> p_inputFactoryClass,
                    java.lang.Class<?> p_outputFactoryClass)
        Constructor collects I/O factory and initialized framework components.
        Parameters:
        p_inputFactoryClass - InputFactory Class
        p_outputFactoryClass - OutputFactory Class
    • Method Detail

      • createOutputs

        public void createOutputs​(Outputs[] p_outputs)
        Uses RoboRIOOutputFactory to take an array of enumerations of Outputs and build an Output of each.
        Parameters:
        p_outputs - All enumerations of Outputs to be created.
      • createInputs

        public void createInputs​(Inputs[] p_inputs)
        Uses RoboRIOInputFactory to take an array of enumerations of Inputs and build an Input of each.
        Parameters:
        p_inputs - All enumerations of Inputs to be created.
      • createSubsystems

        public void createSubsystems​(Subsystems[] p_subsystems)
        Takes an array of enumerations of Subsystems and build a Subsystem of each.
        Parameters:
        p_subsystems - All enumerations of Subsystems to be created.
      • createAutoPrograms

        public void createAutoPrograms​(AutoPrograms[] p_programs)
        Takes an array of enumerations of AutoPrograms and build an AutoProgram of each.
        Parameters:
        p_programs - All enumerations of AutoPrograms to be created.
      • getInputManager

        public static InputManager getInputManager()
        Returns the framework's InputManager.
        Returns:
        InputManager belonging to the framework.
      • getOutputManager

        public static OutputManager getOutputManager()
        Returns the framework's OutputManager.
        Returns:
        OutputManager belonging to the framework.
      • getSubsystemManager

        public static SubsystemManager getSubsystemManager()
        Returns the framework's SubsystemManager.
        Returns:
        SubsystemManager belonging to the framework.
      • getAutoManager

        public static AutoManager getAutoManager()
        Returns the framework's AutoManager.
        Returns:
        AutoManager belonging to the framework.
      • getConfigManager

        public static ConfigManager getConfigManager()
        Returns the framework's ConfigManager.
        Returns:
        ConfigManager belonging to the framework.
      • createObject

        protected java.lang.Object createObject​(java.lang.Class<?> p_class)
        Creates an object from a Class object.
        Parameters:
        p_class - Class to construct.
        Returns:
        Constructed class.
      • executeUpdate

        public void executeUpdate()
        Runs update function of all managers belonging to the framework.