T
- public class CapturingSerial<T extends ICapture & IHarcHardware> extends CapturingHardware<T> implements ICapturingHardware<T>, IHarcHardware
beginTimeout, endTimeout, guiUtils, hardware, maxLearnLength, properties, verbose
Constructor and Description |
---|
CapturingSerial(Class<T> clazz,
JPanel panel,
SerialPortSimpleBean serialPortSimpleBean,
Props properties_,
GuiUtils guiUtils_,
CapturingHardwareManager capturingHardwareManager) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
open()
Opens the device with previously set parameters.
|
void |
setDebug(int debug)
Sets a debug parameter.
|
void |
setup()
This function (re-)initializes the hardware.
|
capture, close, getCapturer, getPanel, getVersion, isValid, selectMe, setTimeout, setupHardwareCommonEnd, setVerbose, setVerbosity, stopCapture
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
capture, close, getCapturer, getPanel, getVersion, isValid, setTimeout, setVerbose, stopCapture
getVersion, isValid, setTimeout, setVerbosity
public CapturingSerial(Class<T> clazz, JPanel panel, SerialPortSimpleBean serialPortSimpleBean, Props properties_, GuiUtils guiUtils_, CapturingHardwareManager capturingHardwareManager)
public void setup() throws IOException
ICapturingHardware
setup
in interface ICapturingHardware<T extends ICapture & IHarcHardware>
IOException
public String getName()
getName
in interface ICapturingHardware<T extends ICapture & IHarcHardware>
getName
in class CapturingHardware<T extends ICapture & IHarcHardware>
public void open() throws HarcHardwareException, IOException
IHarcHardware
open
in interface IHarcHardware
HarcHardwareException
IOException
public void setDebug(int debug)
IHarcHardware
setDebug
in interface IHarcHardware
Copyright © 2015. All rights reserved.