Interface InputFactory

All Known Implementing Classes:
RoboRIOInputFactory

public interface InputFactory
Creates Input objects attached to a specified port, and of a specified type. This interface would have been purge because it only has one implementation, however, that implementation is in org.wildstang.hardware and we would prefer org.wildstang.framework not import anything from there.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an Input from an enumeration of WsInputs.
    void
    Any preperation should be done in this method.
  • Method Details

    • init

      void init()
      Any preperation should be done in this method.
    • createInput

      Input createInput(Inputs p_input)
      Creates an Input from an enumeration of WsInputs.
      Parameters:
      p_input - An enumeration of WsInputs.
      Returns:
      A constructed Input.