|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object endrov.hardware.EvHardware
public class EvHardware
Manager of all existing hardware
Constructor Summary | |
---|---|
EvHardware()
|
Method Summary | ||
---|---|---|
org.jdom.Element |
getConfig()
Get current configuration as XML |
|
static EvCoreDevice |
getCoreDevice()
|
|
static EvDevice |
getDevice(EvDevicePath name)
Get device or null if it does not exist |
|
static java.util.Set<EvDevicePath> |
getDeviceList()
Get list of all installed hardware |
|
static java.util.TreeMap<EvDevicePath,EvDevice> |
getDeviceMap()
Get map of all installed hardware |
|
static java.util.Map<EvDevicePath,EvDevice> |
getDeviceMap(java.lang.Class<?> hw)
Get list of all installed hardware of a specific type |
|
static
|
getDeviceMapCast(java.lang.Class<E> hw)
|
|
static EvDeviceRoot |
getRoot()
|
|
void |
setConfig(org.jdom.Element root)
Set current config |
|
static void |
updateAvailableDevices()
Update the list of all available devices. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EvHardware()
Method Detail |
---|
public static EvCoreDevice getCoreDevice()
public static EvDeviceRoot getRoot()
public static EvDevice getDevice(EvDevicePath name)
public static java.util.Set<EvDevicePath> getDeviceList()
public static java.util.TreeMap<EvDevicePath,EvDevice> getDeviceMap()
public static java.util.Map<EvDevicePath,EvDevice> getDeviceMap(java.lang.Class<?> hw)
public static <E> java.util.Map<EvDevicePath,E> getDeviceMapCast(java.lang.Class<E> hw)
public org.jdom.Element getConfig()
public void setConfig(org.jdom.Element root)
public static void updateAvailableDevices()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |