com.sun.squawk.peripheral
Class PeripheralRegistry
java.lang.Object
   com.sun.squawk.peripheral.PeripheralRegistry
com.sun.squawk.peripheral.PeripheralRegistry
- public class PeripheralRegistry 
- extends Object
Place holder for all peripheral types known by Squawk.
 
 
 
 
registeredPeripherals
protected SquawkVector registeredPeripherals
peripheralArraysByType
protected SquawkHashtable peripheralArraysByType
PeripheralRegistry
public PeripheralRegistry()
add
public void add(IPeripheral peripheral)
- 
 
getSingleton
public IPeripheral getSingleton(Class type)
- 
 
getAll
public IPeripheral[] getAll(Class type)
- Return all peripherals of type type.
 
- 
- Parameters:
- type-
- Returns:
- array of peripherals
 
removeAll
public void removeAll(Class type)
- 
 
"For updated information see the Java FRC site"