|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataProcessor
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.
getData
will return the processed Data object.
Method Summary | |
---|---|
Data |
getData()
Returns the processed Data output. |
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 |
Method Detail |
---|
void initialize()
Data getData() throws DataProcessingException
DataProcessingException
- if a data processor error occursDataProcessor getPredecessor()
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 |