|
||||||||||
| 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.CbusProgrammerManager
public class CbusProgrammerManager
Extend DefaultProgrammerManager to provide node variable programmer for CBUS
ProgrammerManager| Constructor Summary | |
|---|---|
CbusProgrammerManager()
|
|
| Method Summary | |
|---|---|
Programmer |
getAddressedProgrammer(boolean pLongAddress,
int pAddress)
Gain access to a Addressed Mode Programmer without reservation. |
boolean |
isAddressedModePossible()
Default programmer does not provide Ops Mode |
boolean |
isGlobalModePossible()
Global not relevant for CBUS |
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, isGlobalProgrammerAvailable, releaseAddressedProgrammer, releaseGlobalProgrammer, reserveGlobalProgrammer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CbusProgrammerManager()
| Method Detail |
|---|
public boolean isGlobalModePossible()
public boolean isAddressedModePossible()
DefaultProgrammerManager
isAddressedModePossible in interface ProgrammerManagerisAddressedModePossible 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 | |||||||||