Interface ISendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
-
- Type Parameters:
T-
- All Known Implementing Classes:
SendingDevLirc,SendingGenericSerialPort,SendingGirsClient,SendingGlobalCache,SendingIrAudioPort,SendingIrTrans,SendingLircClient,SendingSerial
public interface ISendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()StringgetName()JPanelgetPanel()TgetRawIrSender()org.harctoolbox.harchardware.ir.TransmittergetTransmitter()booleanisValid()booleansendIr(org.harctoolbox.ircore.IrSignal irSignal, int count)voidsetup()This function (re-)initializes the hardware.voidsetVerbose(boolean verbose)
-
-
-
Method Detail
-
getRawIrSender
T getRawIrSender()
-
getTransmitter
org.harctoolbox.harchardware.ir.Transmitter getTransmitter() throws org.harctoolbox.harchardware.ir.NoSuchTransmitterException, HardwareUnavailableException- Throws:
org.harctoolbox.harchardware.ir.NoSuchTransmitterExceptionHardwareUnavailableException
-
getName
String getName()
-
getPanel
JPanel getPanel()
-
setVerbose
void setVerbose(boolean verbose)
-
close
void close()
-
isValid
boolean isValid()
-
sendIr
boolean sendIr(org.harctoolbox.ircore.IrSignal irSignal, int count) throws IOException, org.harctoolbox.harchardware.ir.NoSuchTransmitterException, HardwareUnavailableException, org.harctoolbox.harchardware.HarcHardwareException, org.harctoolbox.ircore.InvalidArgumentException- Throws:
IOExceptionorg.harctoolbox.harchardware.ir.NoSuchTransmitterExceptionHardwareUnavailableExceptionorg.harctoolbox.harchardware.HarcHardwareExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
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
-
-