Class CapturingLircMode2
- java.lang.Object
-
- org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
-
- org.harctoolbox.irscrutinizer.capturinghardware.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...
-
-
Field Summary
-
Fields inherited from class org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware
guiUtils, properties
-
-
Constructor Summary
Constructors Constructor Description CapturingLircMode2(boolean useStdin, String commandName, JPanel panel, Props properties, GuiUtils guiUtils, CapturingHardwareManager capturingHardwareManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.harctoolbox.harchardware.ir.LircMode2getCapturer()StringgetName()voidopen()voidsetCommandName(boolean useStdin, String commandName)voidsetDebug(int debug)voidsetup()This function (re-)initializes the hardware.voidstop()-
Methods inherited from class org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware
capture, close, getPanel, getVersion, isValid, selectMe, setBeginTimeout, setCaptureMaxSize, setEndingTimeout, setTimeout, setupHardwareCommonEnd, setVerbose, stopCapture
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.harctoolbox.irscrutinizer.capturinghardware.ICapturingHardware
capture, close, getPanel, getVersion, isValid, setVerbose, stopCapture
-
-
-
-
Constructor Detail
-
CapturingLircMode2
public CapturingLircMode2(boolean useStdin, String commandName, JPanel panel, Props properties, GuiUtils guiUtils, CapturingHardwareManager capturingHardwareManager)
-
-
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:
openin interfaceorg.harctoolbox.harchardware.IHarcHardware- Throws:
IOException
-
stop
public void stop() throws IOException- Throws:
IOException
-
setup
public void setup()
Description copied from interface:ICapturingHardwareThis function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.- Specified by:
setupin interfaceICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
-
getName
public String getName()
- Specified by:
getNamein interfaceICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>- Specified by:
getNamein classCapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
-
setDebug
public void setDebug(int debug)
- Specified by:
setDebugin interfaceorg.harctoolbox.harchardware.IHarcHardware- Overrides:
setDebugin classCapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
-
getCapturer
public org.harctoolbox.harchardware.ir.LircMode2 getCapturer()
- Specified by:
getCapturerin interfaceICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>- Specified by:
getCapturerin classCapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>- Returns:
- the hardware
-
-