|
||||||||||
| 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.Play
public class Play
Implement the PLAY macro from the Digitrax sound definition language
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
Play(int byte1,
int byte2)
|
|
| Method Summary | |
|---|---|
String |
allInstructionString(String indent)
Provide instructions in MPASM format, including the trailing newline and all nested instructions. |
String |
brkVal()
|
int |
getWaveBrkFlags()
|
String |
handleVal()
|
int |
length()
Provide number of bytes defined by this macro |
void |
loadByteArray(SdfBuffer buffer)
Store into a buffer. |
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. |
void |
setBrk(int n)
|
void |
setBrk(String name)
|
void |
setHandle(int val)
|
void |
setWaveBrkFlags(int n)
|
void |
setWaveBrkFlags(String name)
|
String |
toString()
Provide a single-line simplified representation, including the trailing newline. |
String |
wavebrkFlagsVal()
|
| Methods inherited from class jmri.jmrix.loconet.sdf.SdfMacro |
|---|
decodeInstruction, getChildren, totalLength |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Play(int byte1,
int byte2)
| Method Detail |
|---|
public String name()
SdfMacro
name in class SdfMacropublic String handleVal()
public void setHandle(int val)
public String brkVal()
public void setBrk(String name)
public void setBrk(int n)
public String wavebrkFlagsVal()
public int getWaveBrkFlags()
public void setWaveBrkFlags(String name)
public void setWaveBrkFlags(int n)
public int length()
SdfMacro
length in class SdfMacropublic 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 | |||||||||