public class MainLoop extends ProcessCommon implements java.util.concurrent.Callable<MainLoop.Output>
| Modifier and Type | Class and Description |
|---|---|
class |
MainLoop.Output
Holds the output for the mainloop
|
| Constructor and Description |
|---|
MainLoop(InitializeProcess.Output initOutput,
android.content.Context context,
UserStateHandler userStateHandler)
Consturctor sets the fields using the given values
|
MainLoop(InitializeProcess.Output initOutput,
android.content.Context context,
UserStateHandler userStateHandler,
OrientationManager orientationManager)
Consturctor sets the fields using the given values
|
MainLoop(InitializeProcess.Output initOutput,
android.content.Context context,
UserStateHandler userStateHandler,
OrientationManager orientationManager,
SpeechSubmitHandler speechSubmitHandler,
IndicatorView indicatorView)
Contructor, sets and initializes the fields using the given values
|
MainLoop(InitializeProcess.Output initOutput,
android.content.Context context,
UserStateHandler userStateHandler,
SpeechSubmitHandler speechSubmitHandler)
Consturctor sets the fields using the given values
|
| Modifier and Type | Method and Description |
|---|---|
MainLoop.Output |
call() |
void |
setFollowCourse(int followCourse) |
getUserLocationProximitypublic MainLoop(InitializeProcess.Output initOutput, android.content.Context context, UserStateHandler userStateHandler)
initOutput - output of the initialize processcontext - context under which the main loop is being runuserStateHandler - handler for the user statespublic MainLoop(InitializeProcess.Output initOutput, android.content.Context context, UserStateHandler userStateHandler, OrientationManager orientationManager)
initOutput - output of the initialize processcontext - context under which the main loop is being runuserStateHandler - handler for the user statesorientationManager - orientation manager user to get data
for the user directionpublic MainLoop(InitializeProcess.Output initOutput, android.content.Context context, UserStateHandler userStateHandler, SpeechSubmitHandler speechSubmitHandler)
initOutput - output of the initialize processcontext - context under which the main loop is being runuserStateHandler - handler for the user statesspeechSubmitHandler - speech submitter used in the main looppublic MainLoop(InitializeProcess.Output initOutput, android.content.Context context, UserStateHandler userStateHandler, OrientationManager orientationManager, SpeechSubmitHandler speechSubmitHandler, IndicatorView indicatorView)
initOutput - output of the initialize processcontext - context under which the main loop is being runuserStateHandler - handler for the user statesorientationManager - orientation manager user to get data
for the user directionspeechSubmitHandler - speech submitter used in the main loopindicatorView - indicator view being displayed throughout the main looppublic MainLoop.Output call()
call in interface java.util.concurrent.Callable<MainLoop.Output>public void setFollowCourse(int followCourse)