|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.managers.DefaultProgrammerManager
jmri.jmrix.nce.NceProgrammerManager
public class NceProgrammerManager
Extend DefaultProgrammerManager to provide ops mode programmers for NCE systems
ProgrammerManager| Constructor Summary | |
|---|---|
NceProgrammerManager(NceTrafficController tc,
Programmer serviceModeProgrammer)
|
|
| Method Summary | |
|---|---|
Programmer |
getAddressedProgrammer(boolean pLongAddress,
int pAddress)
Gain access to a Addressed Mode Programmer without reservation. |
boolean |
isAddressedModePossible()
Works with command station to provide Ops Mode, so say it works |
boolean |
isGlobalProgrammerAvailable()
Works with PH command station to provide Service Mode and USB connect to PowerCab. |
Programmer |
reserveAddressedProgrammer(boolean pLongAddress,
int pAddress)
Gain access to a (the) Addressed Mode Programmer, in the process reserving it for yourself. |
| Methods inherited from class jmri.managers.DefaultProgrammerManager |
|---|
getGlobalProgrammer, releaseAddressedProgrammer, releaseGlobalProgrammer, reserveGlobalProgrammer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NceProgrammerManager(NceTrafficController tc,
Programmer serviceModeProgrammer)
| Method Detail |
|---|
public boolean isAddressedModePossible()
isAddressedModePossible in interface ProgrammerManagerisAddressedModePossible in class DefaultProgrammerManagerpublic boolean isGlobalProgrammerAvailable()
isGlobalProgrammerAvailable in interface ProgrammerManagerisGlobalProgrammerAvailable in class DefaultProgrammerManager
public Programmer getAddressedProgrammer(boolean pLongAddress,
int pAddress)
ProgrammerManager
getAddressedProgrammer in interface ProgrammerManagergetAddressedProgrammer in class DefaultProgrammerManagerpLongAddress - true if this is a long (14 bit) address, else falsepAddress - Specific decoder address to use.
public Programmer reserveAddressedProgrammer(boolean pLongAddress,
int pAddress)
ProgrammerManager
reserveAddressedProgrammer in interface ProgrammerManagerreserveAddressedProgrammer in class DefaultProgrammerManagerpLongAddress - true if this is a long (14 bit) address, else falsepAddress - Specific decoder address to use.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||