|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.managers.DefaultProgrammerManager
jmri.jmrix.can.cbus.CbusDccProgrammerManager
public class CbusDccProgrammerManager
Extend DefaultProgrammerManager to provide programmers for CBUS systems
ProgrammerManager| Constructor Summary | |
|---|---|
CbusDccProgrammerManager(Programmer serviceModeProgrammer)
|
|
| Method Summary | |
|---|---|
Programmer |
getAddressedProgrammer(boolean pLongAddress,
int pAddress)
Gain access to a Addressed Mode Programmer without reservation. |
boolean |
isAddressedModePossible()
MERG CAN_CMD supports ops mode |
boolean |
isGlobalProgrammerAvailable()
MERG CAN_CMD supports service mode |
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 CbusDccProgrammerManager(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 | |||||||||