|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.loconet.sdf.SdfMacro
jmri.jmrix.loconet.sdf.SkipOnTrigger
public class SkipOnTrigger
Implement the SKIP_ON_TRIGGER macro from the Digitrax sound definition language
| Field Summary | |
|---|---|
(package private) int |
byte1
|
(package private) int |
byte2
|
(package private) int |
logic
|
(package private) int |
trigger
|
| Fields inherited from class jmri.jmrix.loconet.sdf.SdfMacro |
|---|
children, comment |
| Constructor Summary | |
|---|---|
SkipOnTrigger(int byte1,
int byte2)
|
|
| Method Summary | |
|---|---|
String |
allInstructionString(String indent)
Provide instructions in MPASM format, including the trailing newline and all nested instructions. |
int |
length()
Provide number of bytes defined by this macro |
void |
loadByteArray(SdfBuffer buffer)
Store into a buffer. |
(package private) String |
logicVal()
|
static SdfMacro |
match(SdfBuffer buff)
|
String |
name()
Name used by the macro in the SDF definition |
String |
oneInstructionString()
Provide single instruction in MPASM format, including the trailing newline. |
String |
toString()
Provide a single-line simplified representation, including the trailing newline. |
(package private) String |
triggerVal()
|
| Methods inherited from class jmri.jmrix.loconet.sdf.SdfMacro |
|---|
decodeFlags, decodeInstruction, decodeState, getChildren, totalLength |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
int byte1
int byte2
int logic
int trigger
| Constructor Detail |
|---|
public SkipOnTrigger(int byte1,
int byte2)
| Method Detail |
|---|
public String name()
SdfMacro
name in class SdfMacropublic int length()
SdfMacro
length in class SdfMacroString logicVal()
String triggerVal()
public static SdfMacro match(SdfBuffer buff)
public void loadByteArray(SdfBuffer buffer)
loadByteArray in class SdfMacropublic String toString()
SdfMacroEditorFrame.
toString in class SdfMacropublic String oneInstructionString()
SdfMacro
oneInstructionString in class SdfMacropublic String allInstructionString(String indent)
SdfMacro
allInstructionString in class SdfMacroindent - String inserted at the start of each output line,
typically some number of spaces.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||