|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrit.AbstractIdentify
public abstract class AbstractIdentify
Abstract base for common code of IdentifyLoco and IdentifyDecoder, the two classes that use a programmer to match Roster entries to what's on the programming track.
IdentifyDecoder,
IdentifyLoco| Field Summary |
|---|
| Fields inherited from interface jmri.ProgListener |
|---|
ConfirmFailed, FailedTimeout, NoAck, NoLocoDetected, NotImplemented, OK, ProgrammerBusy, ProgrammingShort, UnknownError, UserAborted |
| Constructor Summary | |
|---|---|
AbstractIdentify()
|
|
| Method Summary | |
|---|---|
protected abstract void |
error()
Abstract routine to notify of errors |
protected void |
identifyDone()
Stop the identification state machine. |
boolean |
isRunning()
To check if running now |
void |
programmingOpReply(int value,
int status)
Internal method to handle the programmer callbacks, e.g. when a CV read request terminates. |
protected void |
readCV(int cv)
Access a single CV for the next step |
void |
start()
Start the identification state machine. |
protected abstract void |
statusUpdate(String status)
Update the status field (if any). |
abstract boolean |
test1()
|
abstract boolean |
test2(int value)
|
abstract boolean |
test3(int value)
|
abstract boolean |
test4(int value)
|
abstract boolean |
test5(int value)
|
abstract boolean |
test6(int value)
|
abstract boolean |
test7(int value)
|
abstract boolean |
test8(int value)
|
protected void |
writeCV(int cv,
int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractIdentify()
| Method Detail |
|---|
public abstract boolean test1()
public abstract boolean test2(int value)
public abstract boolean test3(int value)
public abstract boolean test4(int value)
public abstract boolean test5(int value)
public abstract boolean test6(int value)
public abstract boolean test7(int value)
public abstract boolean test8(int value)
protected abstract void statusUpdate(String status)
public void start()
protected void identifyDone()
public void programmingOpReply(int value,
int status)
programmingOpReply in interface ProgListenervalue - Value from a read operation, or value written on a writestatus - Denotes the completion code. Note that this is a
bitwise combination of the various status coded defined
in this interface.protected abstract void error()
public boolean isRunning()
protected void readCV(int cv)
protected void writeCV(int cv,
int value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||