org.harctoolbox.irscrutinizer.capturinghardware
Class CapturingSerial<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware<T>
      extended by org.harctoolbox.irscrutinizer.capturinghardware.CapturingSerial<T>
Type Parameters:
T -
All Implemented Interfaces:
org.harctoolbox.harchardware.IHarcHardware, ICapturingHardware<T>

public class CapturingSerial<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>
extends CapturingHardware<T>
implements ICapturingHardware<T>, org.harctoolbox.harchardware.IHarcHardware

This class does something interesting and useful. Or not...


Field Summary
 
Fields inherited from class org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware
beginTimeout, endTimeout, guiUtils, hardware, maxLearnLength, properties, verbose
 
Constructor Summary
CapturingSerial(java.lang.Class<T> clazz, javax.swing.JPanel panel, org.harctoolbox.guicomponents.SerialPortSimpleBean serialPortSerialBean, Props properties_, org.harctoolbox.guicomponents.GuiUtils guiUtils_, CapturingHardwareManager capturingHardwareManager)
           
 
Method Summary
 java.lang.String getName()
           
 void open()
           
 void setup()
          This function (re-)initializes the hardware.
 
Methods inherited from class org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware
capture, close, getCapturer, getPanel, getVersion, isValid, selectMe, setTimeout, setupHardwareCommonEnd, setVerbose, setVerbosity, stopCapture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.harctoolbox.irscrutinizer.capturinghardware.ICapturingHardware
capture, close, getCapturer, getPanel, getVersion, isValid, setTimeout, setVerbose, stopCapture
 
Methods inherited from interface org.harctoolbox.harchardware.IHarcHardware
close, getVersion, isValid, setTimeout, setVerbosity
 

Constructor Detail

CapturingSerial

public CapturingSerial(java.lang.Class<T> clazz,
                       javax.swing.JPanel panel,
                       org.harctoolbox.guicomponents.SerialPortSimpleBean serialPortSerialBean,
                       Props properties_,
                       org.harctoolbox.guicomponents.GuiUtils guiUtils_,
                       CapturingHardwareManager capturingHardwareManager)
Method Detail

setup

public void setup()
           throws java.io.IOException
Description copied from interface: ICapturingHardware
This function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.

Specified by:
setup in interface ICapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>
Throws:
java.io.IOException

getName

public java.lang.String getName()
Specified by:
getName in interface ICapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>
Specified by:
getName in class CapturingHardware<T extends org.harctoolbox.harchardware.ir.ICapture & org.harctoolbox.harchardware.IHarcHardware>

open

public void open()
          throws java.io.IOException,
                 gnu.io.NoSuchPortException,
                 gnu.io.PortInUseException,
                 gnu.io.UnsupportedCommOperationException
Specified by:
open in interface org.harctoolbox.harchardware.IHarcHardware
Throws:
java.io.IOException
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException