|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.AbstractThrottleManager
jmri.jmrix.nce.NceThrottleManager
public class NceThrottleManager
NCE implementation of a ThrottleManager.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jmri.jmrix.AbstractThrottleManager |
|---|
AbstractThrottleManager.Addresses |
| Constructor Summary | |
|---|---|
NceThrottleManager(NceTrafficController tc,
String prefix)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addressTypeUnique()
Are there any ambiguous addresses (short vs long) on this system? |
boolean |
canBeLongAddress(int address)
Address 1 and above can be long |
boolean |
canBeShortAddress(int address)
The full range of short addresses are available |
void |
requestThrottleSetup(LocoAddress a,
boolean control)
Abstract member to actually do the work of configuring a new throttle, usually via interaction with the DCC system |
int |
supportedSpeedModes()
What speed modes are supported by this system? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NceThrottleManager(NceTrafficController tc,
String prefix)
| Method Detail |
|---|
public void requestThrottleSetup(LocoAddress a,
boolean control)
AbstractThrottleManager
requestThrottleSetup in class AbstractThrottleManagerpublic boolean canBeLongAddress(int address)
public boolean canBeShortAddress(int address)
public boolean addressTypeUnique()
public int supportedSpeedModes()
AbstractThrottleManager
supportedSpeedModes in interface ThrottleManagersupportedSpeedModes in class AbstractThrottleManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||