Class RoboRIOInputFactory

  • All Implemented Interfaces:
    InputFactory

    public class RoboRIOInputFactory
    extends java.lang.Object
    implements InputFactory
    Builds inputs from WsInputs enumerations.
    • Constructor Summary

      Constructors 
      Constructor Description
      RoboRIOInputFactory()
      Empty constructor override WPILib InputFactory constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Input createInput​(Inputs p_input)
      Creates an Input from an enumeration of WsInputs.
      void init()
      Prepares logger.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RoboRIOInputFactory

        public RoboRIOInputFactory()
        Empty constructor override WPILib InputFactory constructor.
    • Method Detail

      • init

        public void init()
        Prepares logger.
        Specified by:
        init in interface InputFactory
      • createInput

        public Input createInput​(Inputs p_input)
        Creates an Input from an enumeration of WsInputs.
        Specified by:
        createInput in interface InputFactory
        Parameters:
        p_input - An enumeration of WsInputs.
        Returns:
        A constructed Input.