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


コンストラクタの概要
VelocityViewer(java.lang.String fileName)
           
 
メソッドの概要
 void execute(SPElement[] src, TimeSeriesCompatible<SPElement>[] dest)
          ここに処理内容を記述します.
 java.lang.Class<SPElement>[] getInputClasses()
          各入力チャンネルが受け付けるオブジェクトのクラスを配列で返します.
static javax.sound.midi.MidiDevice getMidiDevice(boolean trans)
           
 java.lang.Class<SPElement>[] getOutputClasses()
          各出力チャンネルが出力するオブジェクトのクラスを配列で返します.
static void main(java.lang.String[] args)
           
 void stop(QueueReader<SPElement>[] src, TimeSeriesCompatible<SPElement>[] dest)
          モジュールの処理が終了したときにSPExecutorから呼び出されます
 
クラス 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)