T
- public abstract class CapturingHardware<T extends ICapture & IHarcHardware> extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
beginTimeout |
protected int |
endTimeout |
protected GuiUtils |
guiUtils |
protected T |
hardware |
protected int |
maxLearnLength |
protected Props |
properties |
protected boolean |
verbose |
Modifier | Constructor and Description |
---|---|
protected |
CapturingHardware(JPanel panel,
Props properties,
GuiUtils guiUtils,
CapturingHardwareManager capturingHardwareManager) |
Modifier and Type | Method and Description |
---|---|
ModulatedIrSequence |
capture() |
void |
close() |
T |
getCapturer() |
abstract String |
getName() |
JPanel |
getPanel() |
String |
getVersion() |
boolean |
isValid() |
protected void |
selectMe() |
void |
setTimeout(int i) |
protected void |
setupHardwareCommonEnd() |
void |
setVerbose(boolean verbose) |
void |
setVerbosity(boolean verbosity) |
boolean |
stopCapture() |
protected T extends ICapture & IHarcHardware hardware
protected Props properties
protected GuiUtils guiUtils
protected boolean verbose
protected int beginTimeout
protected int maxLearnLength
protected int endTimeout
protected CapturingHardware(JPanel panel, Props properties, GuiUtils guiUtils, CapturingHardwareManager capturingHardwareManager)
public JPanel getPanel()
public T getCapturer()
public void setVerbose(boolean verbose)
public void close()
protected void setupHardwareCommonEnd()
protected void selectMe() throws IOException, HarcHardwareException
IOException
HarcHardwareException
public ModulatedIrSequence capture() throws HarcHardwareException, IOException, IrpMasterException
public boolean stopCapture()
public String getVersion() throws IOException
IOException
public void setVerbosity(boolean verbosity)
public void setTimeout(int i) throws IOException
IOException
public boolean isValid()
public abstract String getName()
Copyright © 2015. All rights reserved.