|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPamController.PamControlledUnit
likelihoodDetectionModule.LikelihoodFFTController
public class LikelihoodFFTController
The class LikelihoodFFTController manages the automatic creation of any FFT processes that are required to support the target configurations. It will search out in the PamGuard system for existing FFT processes that have parameters that match what is required, but if it doesn't find any it will create one of its own FFT processes to manage one or more processing streams. In order for the object to be able to add new processes to the PamGuard system, it has to inherit the PamControlledUnit interface.
| Field Summary | |
|---|---|
private PamRawDataBlock |
block
The block of raw acoustic data that the extra fft processes will need to subscribe to. |
private java.util.ArrayList<LikelihoodFFTProcess> |
fftProcesses
The fft processes. |
| Fields inherited from class PamController.PamControlledUnit |
|---|
isViewer |
| Constructor Summary | |
|---|---|
LikelihoodFFTController(java.lang.String controllerName,
PamRawDataBlock block)
Instantiates a new likelihood fft controller. |
|
| Method Summary | |
|---|---|
void |
createFFTProcess(LikelihoodFFTParameters params)
Request the controller to crete a new fft process based on the specified parameters. |
LikelihoodFFTProcess |
getProcess(LikelihoodFFTParameters params)
Get an fft process that matches the supplied parameters. |
void |
markFFTProcessesUnused()
Mark fft processes unused. |
void |
removeAllFFTProcesses()
Removes the all fft processes. |
void |
removeUnusedProcesses()
Removes the unused processes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.util.ArrayList<LikelihoodFFTProcess> fftProcesses
private PamRawDataBlock block
| Constructor Detail |
|---|
public LikelihoodFFTController(java.lang.String controllerName,
PamRawDataBlock block)
controllerName - the controller nameblock - the block of raw audio data that the new fft processes will subscribe to| Method Detail |
|---|
public void createFFTProcess(LikelihoodFFTParameters params)
params - The required parameters.public LikelihoodFFTProcess getProcess(LikelihoodFFTParameters params)
params - The parameters for which an fft process is requested.
public void removeAllFFTProcesses()
public void markFFTProcessesUnused()
public void removeUnusedProcesses()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||