|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A processor that performs a signal processing function. Since a
DataProcessor usually belongs to a particular front end pipeline, you can
name the pipeline it belongs to in the
initialize
method. (Note, however, that it is not always the case that a DataProcessor
belongs to a particular pipeline. For example, the
Microphone
class is a
DataProcessor, but it usually does not belong to any particular pipeline.
Each DataProcessor usually have a predecessor as well. This is the previous DataProcessor in the pipeline. Again, not all DataProcessors have predecessors.
Calling getData
will return the processed Data object.
Method Summary | |
Data |
getData()
Returns the processed Data output. |
java.lang.String |
getName()
Returns the name of this DataProcessor. |
DataProcessor |
getPredecessor()
Returns the predecessor DataProcessor. |
void |
initialize()
Initializes this DataProcessor. |
void |
setPredecessor(DataProcessor predecessor)
Sets the predecessor DataProcessor. |
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable |
newProperties, register |
Method Detail |
public void initialize()
public Data getData() throws DataProcessingException
DataProcessingException
- if a data processor error occurspublic java.lang.String getName()
getName
in interface Configurable
public DataProcessor getPredecessor()
public void setPredecessor(DataProcessor predecessor)
predecessor
- the new predecessor of this DataProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |