com.sentilla.system
Class CpuDriver
java.lang.Object
com.sentilla.system.DriverAdapter
com.sentilla.system.CpuDriver
- All Implemented Interfaces:
- Driver
- Direct Known Subclasses:
- CpuDriver
public abstract class CpuDriver
- extends DriverAdapter
Create new Cpu
system objects. "cpu" is used as the default
driver name.
Method Summary |
static Cpu |
create()
Create a new Cpu instance using "cpu" as the driver name. |
static Cpu |
create(String driver)
Create a new Cpu instance using the given driver name. |
abstract Cpu |
newCpu()
Create a new Cpu instance. |
CpuDriver
public CpuDriver()
newCpu
public abstract Cpu newCpu()
- Create a new
Cpu
instance.
- Returns:
- a new Cpu object
create
public static Cpu create(String driver)
- Create a new
Cpu
instance using the given driver name.
- Parameters:
driver
- The driver name passed to Drivers.getDriver(java.lang.String, java.lang.Class)
- Returns:
- a new Cpu object
create
public static Cpu create()
- Create a new
Cpu
instance using "cpu" as the driver name.
- Returns:
- a new Cpu object
Copyright © 2007 Sentilla Corporation. All Rights Reserved.