public class CapturingLircMode2 extends CapturingHardware<LircMode2> implements ICapturingHardware<LircMode2>, IHarcHardware
beginTimeout, endTimeout, guiUtils, hardware, maxLearnLength, properties, verbose
Constructor and Description |
---|
CapturingLircMode2(String commandName,
JPanel panel,
Props properties,
GuiUtils guiUtils,
CapturingHardwareManager capturingHardwareManager) |
Modifier and Type | Method and Description |
---|---|
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, getCapturer, getPanel, getVersion, isValid, selectMe, setTimeout, setupHardwareCommonEnd, setVerbose, setVerbosity, stopCapture
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
capture, close, getCapturer, getPanel, getVersion, isValid, setTimeout, setVerbose, stopCapture
getVersion, isValid, setTimeout, setVerbosity
public CapturingLircMode2(String commandName, JPanel panel, 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
Copyright © 2015. All rights reserved.