|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.teicrete.mta.synthesizer.SynthEngine
public class SynthEngine
This class represents some common properties and methods that are generic to the functionality of the SensorSynthesizer
| Constructor Summary | |
|---|---|
SynthEngine()
|
|
| Method Summary | |
|---|---|
static void |
addSynthesizer(AbstractSensorSynthesizer ss)
Adds a synthesizer object to the currently running synthesizers list |
static void |
addSynthEventListener(SynthEventListener synthListener)
Adds a new SynthEventListener |
static java.util.LinkedList<SynthEventListener> |
getListenerList()
Returns the list of the SynthEventListeners |
static int |
getNoSynths()
Method to get the number of running SensorSynthesizer objects |
static AbstractSensorSynthesizer |
getSynthesizer(int number)
Method to obtain the Synthesizer whose toggle is mapped to the specified channel |
static java.util.LinkedList<AbstractSensorSynthesizer> |
getSynthList()
Method to obtain the list of the registered synthesizers |
static boolean |
isEngineOn()
Checks whether the engine is already started |
static void |
powerOffSynthesizer()
Stops the synthesizer engine |
static void |
powerOnSynthesizer()
Starts the synthesizer engine |
static void |
removeAllSynthesizers()
Removes all the synthesizer objects from the engine |
static void |
removeSynthesizer(AbstractSensorSynthesizer ss)
Removes the specified synthesizer object from the currently running synthesizers list |
static void |
removeSynthEventListener(SynthEventListener synthListener)
Removes a specific SynthEventListener object from the list |
static void |
stopAllSynthesizers()
Stops all the synthesizers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SynthEngine()
| Method Detail |
|---|
public static boolean isEngineOn()
public static void powerOnSynthesizer()
public static void powerOffSynthesizer()
public static void addSynthesizer(AbstractSensorSynthesizer ss)
ss - The SensorSynthesizer object to be addedpublic static void removeSynthesizer(AbstractSensorSynthesizer ss)
ss - The SensorSynthesizer object to be removedpublic static void removeAllSynthesizers()
public static void stopAllSynthesizers()
public static int getNoSynths()
public static java.util.LinkedList<AbstractSensorSynthesizer> getSynthList()
public static AbstractSensorSynthesizer getSynthesizer(int number)
channel - The channel which functions as the toggle on/off for the synthesizer
public static java.util.LinkedList<SynthEventListener> getListenerList()
SynthEventListeners
LinkedList of the SynthEventListener objects registeredpublic static void addSynthEventListener(SynthEventListener synthListener)
SynthEventListener
synthListener - The SynthEventListener object to be addedpublic static void removeSynthEventListener(SynthEventListener synthListener)
SynthEventListener object from the list
synthListener - The SynthEventListener object to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||