Class CapturingLircMode2

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.harctoolbox.harchardware.IHarcHardware, org.harctoolbox.harchardware.ir.ICapture, org.harctoolbox.harchardware.ir.IIrReader, ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>

    public class CapturingLircMode2
    extends CapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
    implements ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
    This class does something interesting and useful. Or not...
    • Method Detail

      • setCommandName

        public void setCommandName​(boolean useStdin,
                                   String commandName)
        Parameters:
        useStdin -
        commandName - the commandName to set
      • open

        public void open()
                  throws IOException
        Specified by:
        open in interface org.harctoolbox.harchardware.IHarcHardware
        Throws:
        IOException
      • setup

        public void setup()
        Description copied from interface: ICapturingHardware
        This function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.
        Specified by:
        setup in interface ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
      • setDebug

        public void setDebug​(int debug)
        Specified by:
        setDebug in interface org.harctoolbox.harchardware.IHarcHardware
        Overrides:
        setDebug in class CapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
      • getCapturer

        public org.harctoolbox.harchardware.ir.LircMode2 getCapturer()
        Specified by:
        getCapturer in interface ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
        Specified by:
        getCapturer in class CapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
        Returns:
        the hardware