Interface ICapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>
-
- Type Parameters:
T-
- All Known Implementing Classes:
CapturingGlobalCache,CapturingLircMode2,CapturingSendingHardware,CapturingSerial
public interface ICapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.harctoolbox.ircore.ModulatedIrSequencecapture()voidclose()TgetCapturer()StringgetName()JPanelgetPanel()StringgetVersion()booleanisValid()voidsetup()This function (re-)initializes the hardware.voidsetVerbose(boolean verbose)booleanstopCapture()
-
-
-
Method Detail
-
getName
String getName()
-
getCapturer
T getCapturer()
-
getPanel
JPanel getPanel()
-
setVerbose
void setVerbose(boolean verbose)
-
close
void close()
-
capture
org.harctoolbox.ircore.ModulatedIrSequence capture() throws org.harctoolbox.harchardware.HarcHardwareException, IOException, org.harctoolbox.ircore.InvalidArgumentException- Throws:
org.harctoolbox.harchardware.HarcHardwareExceptionIOExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
stopCapture
boolean stopCapture()
-
setup
void setup() throws IOException, org.harctoolbox.harchardware.HarcHardwareExceptionThis function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.- Throws:
IOExceptionorg.harctoolbox.harchardware.HarcHardwareException
-
isValid
boolean isValid()
-
getVersion
String getVersion() throws IOException
- Throws:
IOException
-
-