org.harctoolbox.irscrutinizer.capturinghardware
Class CapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>
java.lang.Object
org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware<T>
- Type Parameters:
T -
- Direct Known Subclasses:
- CapturingGlobalCache, CapturingLircMode2, CapturingSerial
public abstract class CapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>
- extends java.lang.Object
This class does something interesting and useful. Or not...
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hardware
protected T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware hardware
properties
protected Props properties
guiUtils
protected org.harctoolbox.guicomponents.GuiUtils guiUtils
verbose
protected boolean verbose
beginTimeout
protected int beginTimeout
maxLearnLength
protected int maxLearnLength
endTimeout
protected int endTimeout
CapturingHardware
protected CapturingHardware(javax.swing.JPanel panel,
Props properties,
org.harctoolbox.guicomponents.GuiUtils guiUtils,
CapturingHardwareManager capturingHardwareManager)
getPanel
public javax.swing.JPanel getPanel()
- Returns:
- the panel
getCapturer
public T getCapturer()
- Returns:
- the hardware
setVerbose
public void setVerbose(boolean verbose)
close
public void close()
setupHardwareCommonEnd
protected void setupHardwareCommonEnd()
selectMe
protected void selectMe()
throws java.io.IOException,
org.harctoolbox.harchardware.HarcHardwareException
- Throws:
java.io.IOException
org.harctoolbox.harchardware.HarcHardwareException
capture
public org.harctoolbox.IrpMaster.ModulatedIrSequence capture()
throws org.harctoolbox.harchardware.HarcHardwareException,
java.io.IOException,
org.harctoolbox.IrpMaster.IrpMasterException
- Throws:
org.harctoolbox.harchardware.HarcHardwareException
java.io.IOException
org.harctoolbox.IrpMaster.IrpMasterException
stopCapture
public boolean stopCapture()
getVersion
public java.lang.String getVersion()
throws java.io.IOException
- Throws:
java.io.IOException
setVerbosity
public void setVerbosity(boolean verbosity)
setTimeout
public void setTimeout(int i)
throws java.io.IOException
- Throws:
java.io.IOException
isValid
public boolean isValid()
getName
public abstract java.lang.String getName()