public class GervillPlaySubSystemWithRegisterInstruments extends java.lang.Object implements PlaySubSystem, NeedInstrument, IPreparedCapableSubSystem
| Constructor and Description |
|---|
GervillPlaySubSystemWithRegisterInstruments() |
| Modifier and Type | Method and Description |
|---|---|
ISubSystemPlayParameters |
createParameterInstance()
create a parameter instance for preparing the play
|
Instrument |
getCurrentInstrument() |
java.lang.Object |
getOwner()
Get the currently play owner
|
boolean |
isPlaying()
is the subsystem playing ?
|
PlayControl |
play(java.lang.Object owner,
VirtualBook transposedCarton,
IPlaySubSystemFeedBack feedBack,
long startAt)
Launch the play of the virtual book
|
PlayControl |
playPrepared(java.lang.Object owner,
IPreparedPlaying pp,
IPlaySubSystemFeedBack feedBackinterface,
long startAt)
Play a prepared play
|
IPreparedPlaying |
preparePlaying(VirtualBook transposedVirtualBook,
ISubSystemPlayParameters params)
Synchronous prepare playing method
|
void |
setCurrentInstrument(Instrument ins) |
static java.util.Map<java.lang.String,java.lang.Object> |
setupInfoProperties() |
void |
stop()
Stop the play
|
public GervillPlaySubSystemWithRegisterInstruments()
public void setCurrentInstrument(Instrument ins)
setCurrentInstrument in interface NeedInstrumentpublic Instrument getCurrentInstrument()
public boolean isPlaying()
throws java.lang.Exception
PlaySubSystemisPlaying in interface PlaySubSystemjava.lang.Exceptionpublic ISubSystemPlayParameters createParameterInstance() throws java.lang.Exception
IPreparedCapableSubSystemcreateParameterInstance in interface IPreparedCapableSubSystemjava.lang.Exceptionpublic IPreparedPlaying preparePlaying(VirtualBook transposedVirtualBook, ISubSystemPlayParameters params) throws java.lang.Exception
IPreparedCapableSubSystempreparePlaying in interface IPreparedCapableSubSystemjava.lang.Exceptionpublic PlayControl playPrepared(java.lang.Object owner, IPreparedPlaying pp, IPlaySubSystemFeedBack feedBackinterface, long startAt) throws java.lang.Exception
IPreparedCapableSubSystemplayPrepared in interface IPreparedCapableSubSystemjava.lang.Exceptionpublic PlayControl play(java.lang.Object owner, VirtualBook transposedCarton, IPlaySubSystemFeedBack feedBack, long startAt) throws java.lang.Exception
PlaySubSystemplay in interface PlaySubSystemowner - the play ownertransposedCarton - the virtual bookfeedBack - a feed back interface for user feed backsstartAt - the position for the play start (in microseconds)java.lang.Exceptionpublic static java.util.Map<java.lang.String,java.lang.Object> setupInfoProperties()
public void stop()
throws java.lang.Exception
PlaySubSystemstop in interface PlaySubSystemstop in interface IPreparedCapableSubSystemjava.lang.Exceptionpublic java.lang.Object getOwner()
PlaySubSystemgetOwner in interface PlaySubSystem