public class WindowsHardwareLayer extends AbstractHardwareLayer
WindowsHardwareAbstractionLayer class.
| Constructor and Description |
|---|
WindowsHardwareLayer() |
| Modifier and Type | Method and Description |
|---|---|
ComputerSystem |
createComputerSystem() |
GlobalMemory |
createMemory()
Instantiates the platform-specific
GlobalMemory object |
CentralProcessor |
createProcessor()
Instantiates the platform-specific
CentralProcessor object |
Sensors |
createSensors()
Instantiates the platform-specific
Sensors object |
HWDiskStore[] |
getDiskStores()
Instantiates an array of
HWDiskStore objects,
representing a physical hard disk or other similar storage device |
Display[] |
getDisplays()
Instantiates an array of
Display objects, representing
monitors or other video output devices. |
NetworkIF[] |
getNetworkIFs()
Instantiates an array of
NetworkIF objects,
representing a network interface |
PowerSource[] |
getPowerSources()
Instantiates an array of
PowerSource objects,
representing batteries, etc. |
SoundCard[] |
getSoundCards()
Instantiates an array of
SoundCard objects,
representing the Sound cards. |
UsbDevice[] |
getUsbDevices(boolean tree)
Instantiates an array of
UsbDevice objects,
representing devices connected via a usb port (including internal devices). |
getComputerSystem, getMemory, getProcessor, getSensorspublic ComputerSystem createComputerSystem()
createComputerSystem in class AbstractHardwareLayerpublic GlobalMemory createMemory()
AbstractHardwareLayerGlobalMemory objectcreateMemory in class AbstractHardwareLayerGlobalMemory objectpublic CentralProcessor createProcessor()
AbstractHardwareLayerCentralProcessor objectcreateProcessor in class AbstractHardwareLayerCentralProcessor objectpublic Sensors createSensors()
AbstractHardwareLayerSensors objectcreateSensors in class AbstractHardwareLayerSensors objectpublic PowerSource[] getPowerSources()
HardwareLayerPowerSource objects,
representing batteries, etc.public HWDiskStore[] getDiskStores()
HardwareLayerHWDiskStore objects,
representing a physical hard disk or other similar storage devicepublic Display[] getDisplays()
HardwareLayerDisplay objects, representing
monitors or other video output devices.public NetworkIF[] getNetworkIFs()
HardwareLayerNetworkIF objects,
representing a network interfacepublic UsbDevice[] getUsbDevices(boolean tree)
HardwareLayerUsbDevice objects,
representing devices connected via a usb port (including internal devices).
If the value of tree is true, the top level devices returned from this method are the USB Controllers; connected hubs and devices in its device tree share that controller's bandwidth. If the value of tree is false, USB devices (not controllers) are listed in a single flat array.
tree - Whether to display devices in a nested tree format from their
controllerspublic SoundCard[] getSoundCards()
HardwareLayerSoundCard objects,
representing the Sound cards.Copyright © 2019. All rights reserved.