extra.inpro.training
Class DataCollector.RecoRunner

java.lang.Object
  extended by java.lang.Thread
      extended by extra.inpro.training.DataCollector.RecoRunner
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
DataCollector

private class DataCollector.RecoRunner
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  java.lang.String mostRecentFileName
           
private  java.lang.String mostRecentRecoResult
           
(package private)  edu.cmu.sphinx.recognizer.Recognizer recognizer
           
private  boolean updateResults
          determines whether new results should be thrown away or passed onto swing UI
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
DataCollector.RecoRunner()
           
 
Method Summary
 java.lang.String getMostRecentFilename()
           
 java.lang.String getMostRecentRecoResult()
           
 void run()
           
 void setRecognizer(edu.cmu.sphinx.recognizer.Recognizer recognizer)
           
 void setRecognizing(boolean enabled)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

updateResults

private boolean updateResults
determines whether new results should be thrown away or passed onto swing UI


mostRecentRecoResult

private java.lang.String mostRecentRecoResult

mostRecentFileName

private java.lang.String mostRecentFileName

recognizer

edu.cmu.sphinx.recognizer.Recognizer recognizer
Constructor Detail

DataCollector.RecoRunner

DataCollector.RecoRunner()
Method Detail

setRecognizer

public void setRecognizer(edu.cmu.sphinx.recognizer.Recognizer recognizer)

setRecognizing

public void setRecognizing(boolean enabled)

getMostRecentRecoResult

public java.lang.String getMostRecentRecoResult()

getMostRecentFilename

public java.lang.String getMostRecentFilename()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread