public class MetroMessageEvent extends DefaultMetroEvent
BAR_OFFSET_COMPARATOR| Constructor and Description |
|---|
MetroMessageEvent(java.lang.String id,
double offset,
java.lang.Runnable message) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Metro metro) |
void |
process(Metro metro,
int cursor)
Defines the procedure to execute when this event is activated.
|
dumpProc, getBarOffset, getBarOffsetInFrames, getTypeName, isBetween, isBetweenInFrames, prepareBarOffset, prepareBarOffsetInFrames, setBarOffset, setBarOffsetInFrames, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdumppublic MetroMessageEvent(java.lang.String id,
double offset,
java.lang.Runnable message)
public void execute(Metro metro)
public void process(Metro metro, int cursor)
MetroEventProcess#between(int, int) returned true.
See MetroTrack.progressCursor(int, List) for further information.
This methods is called as a callback of JACKAudio processing; this method
should return as soon as possible. The heavy processing that blocks for
longer time than the current setting of JACK's frame rate causes JACK to
XRUN.metro - The Metro instance which is the owner of this event.cursor - TODO