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 void
close()
String
getName()
JPanel
getPanel()
T
getRawIrSender()
org.harctoolbox.harchardware.ir.Transmitter
getTransmitter()
boolean
isValid()
boolean
sendIr(org.harctoolbox.ircore.IrSignal irSignal, int count)
void
setup()
This function (re-)initializes the hardware.void
setVerbose(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.NoSuchTransmitterException
HardwareUnavailableException
-
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:
IOException
org.harctoolbox.harchardware.ir.NoSuchTransmitterException
HardwareUnavailableException
org.harctoolbox.harchardware.HarcHardwareException
org.harctoolbox.ircore.InvalidArgumentException
-
setup
void setup() throws 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:
IOException
org.harctoolbox.harchardware.HarcHardwareException
-
-