net.sf.jaer.biasgen
Class IPotArray
java.lang.Object
net.sf.jaer.biasgen.PotArray
net.sf.jaer.biasgen.IPotArray
- All Implemented Interfaces:
- BiasgenPreferences
public class IPotArray
- extends PotArray
Describes a linear array of IPot's on a chip. This ArrayList is just an ordered list of IPot (hopefully) that maintains the order
of devices on a chip's shift register string. PotArray.addPot(net.sf.jaer.biasgen.Pot)
adds an IPot and registered this as an Observer.
- Author:
- tobi
Nested Class Summary |
protected class |
IPotArray.ShiftRegisterComparator
orders pots in order of shift register so that bias at input end of SR is returned last, used in hardware interfaces to load bits. |
protected class |
IPotArray.ShiftRegisterIterator
Provides pots in order of loading to the shift register, used in hardware interfaces to load bits. |
Fields inherited from class net.sf.jaer.biasgen.PotArray |
pots |
Constructor Summary |
IPotArray(Biasgen biasgen)
Creates a new instance of IPotArray |
Methods inherited from class net.sf.jaer.biasgen.PotArray |
addPot, exportPreferences, getNumPots, getPotByName, getPotByNumber, getPots, importPreferences, loadPreferences, setAllToBitValue, setPots, storePreferences, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IPotArray
public IPotArray(Biasgen biasgen)
- Creates a new instance of IPotArray
getShiftRegisterIterator
public IPotArray.ShiftRegisterIterator getShiftRegisterIterator()
- returns an Iterator that iterates over the pots in the order of their shift register location, ordered from low to high