org.harctoolbox.irscrutinizer.sendinghardware
Class SendingGlobalCache

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
      extended by 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, rawIrSender
 
Constructor Summary
SendingGlobalCache(javax.swing.JPanel panel, Props properties, org.harctoolbox.guicomponents.GuiUtils gui, org.harctoolbox.guicomponents.GlobalCacheIrSenderSelector newGlobalCacheIrSenderSelector)
           
 
Method Summary
 java.lang.String getName()
           
 org.harctoolbox.harchardware.ir.Transmitter getTransmitter()
           
 void setup()
          This function (re-)initializes the hardware.
 
Methods inherited from class org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware
close, getPanel, getRawIrSender, isValid, sendIr, setVerbosity
 
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, getRawIrSender, isValid, sendIr, setVerbosity
 

Constructor Detail

SendingGlobalCache

public SendingGlobalCache(javax.swing.JPanel panel,
                          Props properties,
                          org.harctoolbox.guicomponents.GuiUtils gui,
                          org.harctoolbox.guicomponents.GlobalCacheIrSenderSelector newGlobalCacheIrSenderSelector)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface ISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>

getTransmitter

public org.harctoolbox.harchardware.ir.Transmitter getTransmitter()
                                                           throws org.harctoolbox.harchardware.ir.NoSuchTransmitterException,
                                                                  HardwareUnavailableException
Specified by:
getTransmitter in interface ISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
Overrides:
getTransmitter in class SendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
Throws:
org.harctoolbox.harchardware.ir.NoSuchTransmitterException
HardwareUnavailableException

setup

public void setup()
           throws java.io.IOException,
                  org.harctoolbox.harchardware.HarcHardwareException
Description copied from interface: ISendingHardware
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 ISendingHardware<org.harctoolbox.harchardware.ir.GlobalCache>
Throws:
java.io.IOException
org.harctoolbox.harchardware.HarcHardwareException