com.sentilla.system
Class CpuDriver

java.lang.Object
  extended by com.sentilla.system.DriverAdapter
      extended by 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.


Field Summary
 
Fields inherited from class com.sentilla.system.DriverAdapter
m_nextDriver
 
Constructor Summary
CpuDriver()
           
 
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.
 
Methods inherited from class com.sentilla.system.DriverAdapter
getDriverName, getNextDriver, setNextDriver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CpuDriver

public CpuDriver()
Method Detail

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.