public class CapturingLircMode2 extends CapturingHardware<LircMode2> implements ICapturingHardware<LircMode2>, IHarcHardware
guiUtils, properties, verbose
defaultBeginTimeout, defaultCaptureMaxSize, defaultEndTimeout
Constructor and Description |
---|
CapturingLircMode2(String commandName,
JPanel panel,
org.harctoolbox.irscrutinizer.Props properties,
GuiUtils guiUtils,
CapturingHardwareManager capturingHardwareManager) |
Modifier and Type | Method and Description |
---|---|
LircMode2 |
getCapturer() |
String |
getCommandName() |
String |
getName() |
void |
open()
Opens the device with previously set parameters.
|
void |
setCommandName(String commandName) |
void |
setDebug(int debug)
Sets a debug parameter.
|
void |
setup()
This function (re-)initializes the hardware.
|
capture, close, getPanel, getVersion, isValid, selectMe, setBeginTimeout, setCaptureMaxSize, setEndTimeout, setTimeout, setupHardwareCommonEnd, setVerbose, setVerbosity, stopCapture
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
capture, close, getPanel, getVersion, isValid, setVerbose, stopCapture
getVersion, isValid, setTimeout, setVerbosity
public CapturingLircMode2(String commandName, JPanel panel, org.harctoolbox.irscrutinizer.Props properties, GuiUtils guiUtils, CapturingHardwareManager capturingHardwareManager)
public String getCommandName()
public void setCommandName(String commandName)
commandName
- the commandName to setpublic void open() throws IOException
IHarcHardware
open
in interface IHarcHardware
IOException
public void setup()
ICapturingHardware
setup
in interface ICapturingHardware<LircMode2>
public String getName()
getName
in interface ICapturingHardware<LircMode2>
getName
in class CapturingHardware<LircMode2>
public void setDebug(int debug)
IHarcHardware
setDebug
in interface IHarcHardware
setDebug
in class CapturingHardware<LircMode2>
public LircMode2 getCapturer()
getCapturer
in interface ICapturingHardware<LircMode2>
getCapturer
in class CapturingHardware<LircMode2>
Copyright © 2016. All rights reserved.