fftManager
Class FftCProcess

java.lang.Object
  extended by backendCInterfase.BackendProcess
      extended by fftManager.FftCProcess

public class FftCProcess
extends BackendProcess


Field Summary
private  int[] channelCount
           
private  long[] channelSample
           
private  FFTDataBlock fftDataBlock
           
private  FFTParameters fftParameters
           
private  PamFFTProcess fftProcess
           
 
Constructor Summary
FftCProcess(PamFFTProcess fftProcess)
           
 
Method Summary
 java.lang.Object getParams()
          Get params to be passed over to the JNI C code.
 void newData(int dataType, int channelMap, short[] data, int dataLenBytes)
           
 boolean prepareProcess()
          Will be called before start up so that the process can take any special actions needed to inhibit parts of the java operation.
 
Methods inherited from class backendCInterfase.BackendProcess
getInputDataName, getOutputDataBlock, getOutputDataName, getProcessName, getProcessType, getReturnData, getReturnData, getReturnData, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fftProcess

private PamFFTProcess fftProcess

fftParameters

private FFTParameters fftParameters

fftDataBlock

private FFTDataBlock fftDataBlock

channelSample

private long[] channelSample

channelCount

private int[] channelCount
Constructor Detail

FftCProcess

public FftCProcess(PamFFTProcess fftProcess)
Method Detail

getParams

public java.lang.Object getParams()
Description copied from class: BackendProcess
Get params to be passed over to the JNI C code.

Params should be in the form of a Java structure. Module specific C Code on the other side will unpack the Java parameters and turn it into an equivalent C structure. There must be a perfect match between the Java and the C or the program will crash

Specified by:
getParams in class BackendProcess
Returns:
Object containing configuration parameters for this module.

prepareProcess

public boolean prepareProcess()
Description copied from class: BackendProcess
Will be called before start up so that the process can take any special actions needed to inhibit parts of the java operation.

Specified by:
prepareProcess in class BackendProcess
Returns:
true if all Ok.

newData

public void newData(int dataType,
                    int channelMap,
                    short[] data,
                    int dataLenBytes)
Specified by:
newData in class BackendProcess