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 OutputcreateOutput(Outputs p_output)Creates an Output from an enumeration of WsOutputs.voidinit()Prepares logger.
-
-
-
Method Detail
-
init
public void init()
Prepares logger.- Specified by:
initin interfaceOutputFactory
-
createOutput
public Output createOutput(Outputs p_output)
Creates an Output from an enumeration of WsOutputs.- Specified by:
createOutputin interfaceOutputFactory- Parameters:
p_output- An enumeration of WsOutputs.- Returns:
- A constructed Output.
-
-