Interface AddressedProgrammer
-
- All Superinterfaces:
Disposable
,Programmer
- All Known Implementing Classes:
BiDiBOpsModeProgrammer
,CbusDccOpsModeProgrammer
,Dcc4PcOpsModeProgrammer
,DCCppOpsModeProgrammer
,EasyDccOpsModeProgrammer
,EcosOpsModeProgrammer
,LnOpsModeProgrammer
,MrcOpsModeProgrammer
,Mx1OpsModeProgrammer
,NceOpsModeProgrammer
,OlcbProgrammer
,ProgDebugger
,SprogOpsModeProgrammer
,TamsOpsModeProgrammer
,XNetOpsModeProgrammer
,Z21XNetOpsModeProgrammer
public interface AddressedProgrammer extends Programmer
Provide access to the hardware DCC decoder programming capability.Programmers come in multiple types:
- Global, previously "Service Mode" or on a programming track
- Addressed, previously "Ops Mode" also known as "programming on the main"
- DCC CV programming, on service mode track or on the main
- CBUS Node Variable programmers
- LocoNet System Variable programmers
- LocoNet Op Switch programmers
- etc
You get a Programmer object from an
AddressedProgrammerManager
, which in turn can be located from theInstanceManager
.Starting in JMRI 3.5.5, the CV addresses are Strings for generality. The methods that use ints for CV addresses will later be deprecated.
This file is part of JMRI.JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- See Also:
AddressedProgrammerManager
,Programmer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jmri.Programmer
Programmer.WriteConfirmMode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAddress()
int
getAddressNumber()
boolean
getLongAddress()
-
Methods inherited from interface jmri.Programmer
addPropertyChangeListener, confirmCV, decodeErrorCode, dispose, getCanRead, getCanRead, getCanWrite, getCanWrite, getMode, getSupportedModes, getWriteConfirmMode, notifyProgListenerEnd, readCV, readCV, removePropertyChangeListener, setMode, writeCV
-
-
-
-
Method Detail
-
getLongAddress
boolean getLongAddress()
-
getAddressNumber
int getAddressNumber()
-
getAddress
java.lang.String getAddress()
-
-