sky.monome
Class MultiSequencerGroup.SpecificSequencerEngine


java.lang.Object

  extended by java.lang.Thread

      extended by sky.monome.sequencer.SequencerEngine<MultiSequencerGroup.SpecificSequencerGroup,OptionalRadio.OptionalRadioGroup>

          extended by sky.monome.MultiSequencerGroup.SpecificSequencerEngine

All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MultiSequencerGroup

protected class MultiSequencerGroup.SpecificSequencerEngine
extends SequencerEngine<MultiSequencerGroup.SpecificSequencerGroup,OptionalRadio.OptionalRadioGroup>

Specific sequencer engine. This class is a special implementation of the SequencerEngine class for use in the MultiSequencerGroup class.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class sky.monome.sequencer.SequencerEngine
divisions, monome, sequencers, tempo, timeBetweenSteps
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected MultiSequencerGroup.SpecificSequencerEngine(float tempo, int divisions, MultiSequencerGroup.SpecificSequencerGroup... sequencers)
          Constructs a specific sequencer engine with specified tempo and number of divisions by quarter note, and driving specified sequencers.
 
Method Summary
 void run()
          Invoked by the virtual machine to execute this thread.
 
Methods inherited from class sky.monome.sequencer.SequencerEngine
addSequencer, getDivisions, getSequencers, getTempo, getTimeBetweenSteps, refreshMonome, removeSequencer, removeSequencers, setDivisions, setTempo, setTempo
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiSequencerGroup.SpecificSequencerEngine


protected MultiSequencerGroup.SpecificSequencerEngine(float tempo,

                                                      int divisions,

                                                      MultiSequencerGroup.SpecificSequencerGroup... sequencers)
Constructs a specific sequencer engine with specified tempo and number of divisions by quarter note, and driving specified sequencers.

Parameters:
tempo - Tempo, in number of quarter notes by minute.
divisions - Number of divisions by quarter note.
sequencers - List of sequencers that will be driven by this specific sequencer engine.
Method Detail

run


public void run()
Invoked by the virtual machine to execute this thread.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class SequencerEngine<MultiSequencerGroup.SpecificSequencerGroup,OptionalRadio.OptionalRadioGroup>