|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.util.props.ConfigurableAdapter
edu.cmu.sphinx.frontend.BaseDataProcessor
public abstract class BaseDataProcessor
An abstract DataProcessor implementing elements common to all concrete DataProcessors, such as name, predecessor, and timer.
| Constructor Summary | |
|---|---|
BaseDataProcessor()
|
|
| Method Summary | |
|---|---|
abstract Data |
getData()
Returns the processed Data output. |
DataProcessor |
getPredecessor()
Returns the predecessor DataProcessor. |
Timer |
getTimer()
Returns the timer this DataProcessor uses. |
void |
initialize()
Initializes this DataProcessor. |
void |
setPredecessor(DataProcessor predecessor)
Sets the predecessor DataProcessor. |
| Methods inherited from class edu.cmu.sphinx.util.props.ConfigurableAdapter |
|---|
getName, newProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.cmu.sphinx.util.props.Configurable |
|---|
newProperties |
| Constructor Detail |
|---|
public BaseDataProcessor()
| Method Detail |
|---|
public abstract Data getData()
throws DataProcessingException
getData in interface DataProcessorDataProcessingException - if a data processor error occurspublic void initialize()
initialize in interface DataProcessorpublic DataProcessor getPredecessor()
getPredecessor in interface DataProcessorpublic Timer getTimer()
public void setPredecessor(DataProcessor predecessor)
setPredecessor in interface DataProcessorpredecessor - the new predecessor of this DataProcessor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||