T
- public abstract class SendingHardware<T extends IRawIrSender & IHarcHardware> extends Object
Modifier and Type | Field and Description |
---|---|
protected GuiUtils |
guiUtils |
static String |
PROP_PANEL |
static String |
PROP_RAWIRSENDER |
static String |
PROP_VERBOSE |
protected org.harctoolbox.irscrutinizer.Props |
properties |
Modifier | Constructor and Description |
---|---|
protected |
SendingHardware(JPanel panel,
org.harctoolbox.irscrutinizer.Props properties,
GuiUtils guiUtils) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
abstract String |
getName() |
JPanel |
getPanel() |
abstract T |
getRawIrSender() |
Transmitter |
getTransmitter() |
boolean |
isValid() |
boolean |
sendIr(IrSignal irSignal,
int count) |
abstract void |
setup() |
void |
setVerbosity(boolean verbose) |
public static final String PROP_PANEL
public static final String PROP_RAWIRSENDER
public static final String PROP_VERBOSE
protected org.harctoolbox.irscrutinizer.Props properties
protected GuiUtils guiUtils
public JPanel getPanel()
public abstract T getRawIrSender()
public void setVerbosity(boolean verbose)
verbose
- the verbose to setpublic Transmitter getTransmitter() throws NoSuchTransmitterException, HardwareUnavailableException
NoSuchTransmitterException
HardwareUnavailableException
public boolean sendIr(IrSignal irSignal, int count) throws NoSuchTransmitterException, IrpMasterException, IOException, HardwareUnavailableException, HarcHardwareException
public void close()
public boolean isValid()
public abstract void setup() throws IOException, HarcHardwareException
IOException
HarcHardwareException
public abstract String getName()
Copyright © 2016. All rights reserved.