Package org.wildstang.hardware.roborio
Class RoboRIOOutputFactory
- java.lang.Object
-
- org.wildstang.hardware.roborio.RoboRIOOutputFactory
-
- All Implemented Interfaces:
OutputFactory
public class RoboRIOOutputFactory extends java.lang.Object implements OutputFactory
Builds outputs from WsOutputs enumerations.
-
-
Constructor Summary
Constructors Constructor Description RoboRIOOutputFactory()
Empty constructor override WPILib InputFactory constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Output
createOutput(Outputs p_output)
Creates an Output from an enumeration of WsOutputs.void
init()
Prepares logger.
-
-
-
Method Detail
-
init
public void init()
Prepares logger.- Specified by:
init
in interfaceOutputFactory
-
createOutput
public Output createOutput(Outputs p_output)
Creates an Output from an enumeration of WsOutputs.- Specified by:
createOutput
in interfaceOutputFactory
- Parameters:
p_output
- An enumeration of WsOutputs.- Returns:
- A constructed Output.
-
-