ioio.lib.api
Class Sequencer.Event

java.lang.Object
  extended by ioio.lib.api.Sequencer.Event
Enclosing interface:
Sequencer

public static class Sequencer.Event
extends java.lang.Object

A sequencer event. Used for tracking execution progress.


Nested Class Summary
static class Sequencer.Event.Type
          Event type.
 
Field Summary
 int numCuesStarted
          This gives a counter of the number cues started execution until now, which is synchronized with the events.
 Sequencer.Event.Type type
          The event type.
 
Constructor Summary
Sequencer.Event(Sequencer.Event.Type t, int n)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public final Sequencer.Event.Type type
The event type.


numCuesStarted

public final int numCuesStarted
This gives a counter of the number cues started execution until now, which is synchronized with the events. When the first cue begins execution, the event will be CUE_STARTED and numCuesStarted will be 1.

Constructor Detail

Sequencer.Event

public Sequencer.Event(Sequencer.Event.Type t,
                       int n)
Constructor.