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.LircMode2
getCapturer()
String
getName()
void
open()
void
setCommandName(boolean useStdin, String commandName)
void
setDebug(int debug)
void
setup()
This function (re-)initializes the hardware.void
stop()
-
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:
open
in interfaceorg.harctoolbox.harchardware.IHarcHardware
- Throws:
IOException
-
stop
public void stop() throws IOException
- 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 interfaceICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
-
getName
public String getName()
- Specified by:
getName
in interfaceICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
- Specified by:
getName
in classCapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
-
setDebug
public void setDebug(int debug)
- Specified by:
setDebug
in interfaceorg.harctoolbox.harchardware.IHarcHardware
- Overrides:
setDebug
in classCapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
-
getCapturer
public org.harctoolbox.harchardware.ir.LircMode2 getCapturer()
- Specified by:
getCapturer
in interfaceICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
- Specified by:
getCapturer
in classCapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
- Returns:
- the hardware
-
-