jp.crestmuse.cmx.amusaj.sp
クラス VelocityViewer
java.lang.Object
jp.crestmuse.cmx.amusaj.sp.SPModule
jp.crestmuse.cmx.amusaj.sp.VelocityViewer
- すべての実装されたインタフェース:
- ProducerConsumerCompatible
public class VelocityViewer
- extends SPModule
クラス jp.crestmuse.cmx.amusaj.sp.SPModule から継承されたメソッド |
containsParam, copyParamsFromConfigXML, getParam, getParamCategory, getParamDouble, getParamInt, getParamNameSpace, getUsedParamNames, setParam, setParam, setParam, setParams |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityViewer
public VelocityViewer(java.lang.String fileName)
throws java.io.FileNotFoundException
- 例外:
java.io.FileNotFoundException
execute
public void execute(SPElement[] src,
TimeSeriesCompatible<SPElement>[] dest)
throws java.lang.InterruptedException
- インタフェース
ProducerConsumerCompatible
の記述:
- ここに処理内容を記述します. 引数srcに全入力チャンネルに対するQueueReaderが
格納されているので, takeメソッドでそこから1つずつ要素を取り出します.
- パラメータ:
src
- 全入力チャンネルに対するQueueReaderオブジェクトdest
- 全出力チャンネル
- 例外:
java.lang.InterruptedException
getInputClasses
public java.lang.Class<SPElement>[] getInputClasses()
- インタフェース
ProducerConsumerCompatible
の記述:
- 各入力チャンネルが受け付けるオブジェクトのクラスを配列で返します.
getOutputClasses
public java.lang.Class<SPElement>[] getOutputClasses()
- インタフェース
ProducerConsumerCompatible
の記述:
- 各出力チャンネルが出力するオブジェクトのクラスを配列で返します.
stop
public void stop(QueueReader<SPElement>[] src,
TimeSeriesCompatible<SPElement>[] dest)
- インタフェース
ProducerConsumerCompatible
の記述:
- モジュールの処理が終了したときにSPExecutorから呼び出されます
- 定義:
- インタフェース
ProducerConsumerCompatible
内の stop
- オーバーライド:
- クラス
SPModule
内の stop
main
public static void main(java.lang.String[] args)
getMidiDevice
public static javax.sound.midi.MidiDevice getMidiDevice(boolean trans)