Package org.wildstang.hardware.roborio
Class RoboRIOInputFactory
- java.lang.Object
-
- org.wildstang.hardware.roborio.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.
-
-
-
Method Detail
-
init
public void init()
Prepares logger.- Specified by:
init
in interfaceInputFactory
-
createInput
public Input createInput(Inputs p_input)
Creates an Input from an enumeration of WsInputs.- Specified by:
createInput
in interfaceInputFactory
- Parameters:
p_input
- An enumeration of WsInputs.- Returns:
- A constructed Input.
-
-