org.harctoolbox.irscrutinizer.capturinghardware
Interface ICapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>

Type Parameters:
T -
All Known Implementing Classes:
CapturingGlobalCache, CapturingLircMode2, CapturingSerial

public interface ICapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>


Method Summary
 org.harctoolbox.IrpMaster.ModulatedIrSequence capture()
           
 void close()
           
 T getCapturer()
           
 java.lang.String getName()
           
 javax.swing.JPanel getPanel()
           
 java.lang.String getVersion()
           
 boolean isValid()
           
 void setTimeout(int timeOut)
           
 void setup()
          This function (re-)initializes the hardware.
 void setVerbose(boolean verbose)
           
 boolean stopCapture()
           
 

Method Detail

getName

java.lang.String getName()

getCapturer

T getCapturer()

getPanel

javax.swing.JPanel getPanel()

setVerbose

void setVerbose(boolean verbose)

close

void close()

capture

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

boolean stopCapture()

setup

void setup()
           throws java.io.IOException,
                  org.harctoolbox.harchardware.HarcHardwareException
This function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.

Throws:
java.io.IOException
org.harctoolbox.harchardware.HarcHardwareException

isValid

boolean isValid()

getVersion

java.lang.String getVersion()
                            throws java.io.IOException
Throws:
java.io.IOException

setTimeout

void setTimeout(int timeOut)
                throws java.io.IOException
Throws:
java.io.IOException