Class SendingGlobalCache
- java.lang.Object
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingGlobalCache
-
- All Implemented Interfaces:
ISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
public class SendingGlobalCache extends SendingHardware<org.harctoolbox.harchardware.ir.GlobalCache> implements ISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
This class does something interesting and useful. Or not...
-
-
Field Summary
-
Fields inherited from class org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware
guiUtils, PROP_PANEL, PROP_RAWIRSENDER, PROP_VERBOSE, properties
-
-
Constructor Summary
Constructors Constructor Description SendingGlobalCache(JPanel panel, Props properties, GuiUtils gui, GlobalCacheIrSenderSelector newGlobalCacheIrSenderSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()org.harctoolbox.harchardware.ir.GlobalCachegetRawIrSender()org.harctoolbox.harchardware.ir.TransmittergetTransmitter()booleansendIr(org.harctoolbox.ircore.IrSignal irSignal, int count)voidsetup()This function (re-)initializes the hardware.-
Methods inherited from class org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware
close, getPanel, isValid, setVerbose
-
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.sendinghardware.ISendingHardware
close, getPanel, isValid, setVerbose
-
-
-
-
Constructor Detail
-
SendingGlobalCache
public SendingGlobalCache(JPanel panel, Props properties, GuiUtils gui, GlobalCacheIrSenderSelector newGlobalCacheIrSenderSelector)
-
-
Method Detail
-
sendIr
public boolean sendIr(org.harctoolbox.ircore.IrSignal irSignal, int count) throws org.harctoolbox.harchardware.ir.NoSuchTransmitterException, IOException, HardwareUnavailableException, org.harctoolbox.harchardware.HarcHardwareException, org.harctoolbox.ircore.InvalidArgumentException- Specified by:
sendIrin interfaceISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Overrides:
sendIrin classSendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Throws:
org.harctoolbox.harchardware.ir.NoSuchTransmitterExceptionIOExceptionHardwareUnavailableExceptionorg.harctoolbox.harchardware.HarcHardwareExceptionorg.harctoolbox.ircore.InvalidArgumentException
-
getName
public String getName()
- Specified by:
getNamein interfaceISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Specified by:
getNamein classSendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
-
getTransmitter
public org.harctoolbox.harchardware.ir.Transmitter getTransmitter() throws org.harctoolbox.harchardware.ir.NoSuchTransmitterException, HardwareUnavailableException- Specified by:
getTransmitterin interfaceISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Overrides:
getTransmitterin classSendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Returns:
- transmitter
- Throws:
org.harctoolbox.harchardware.ir.NoSuchTransmitterExceptionHardwareUnavailableException
-
setup
public void setup() throws IOException, org.harctoolbox.harchardware.HarcHardwareExceptionDescription copied from interface:ISendingHardwareThis function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.- Specified by:
setupin interfaceISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Specified by:
setupin classSendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Throws:
IOExceptionorg.harctoolbox.harchardware.HarcHardwareException
-
getRawIrSender
public org.harctoolbox.harchardware.ir.GlobalCache getRawIrSender()
- Specified by:
getRawIrSenderin interfaceISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Specified by:
getRawIrSenderin classSendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>- Returns:
- the rawIrSender
-
-