|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinpro.incremental.PushBuffer
inpro.incremental.IUModule
inpro.incremental.processor.AbstractDialogueManager
public abstract class AbstractDialogueManager
An abstract DM. Has basic provisions for action management and floor tracking. Also provides mechanisms for queuing input while its updating.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class inpro.incremental.IUModule |
|---|
IUModule.RightBuffer |
| Field Summary | |
|---|---|
protected java.util.List<DialogueActIU> |
doneQueue
Queue for performed DialogueActs for post-update processing |
protected java.util.List<AbstractFloorTracker.Signal> |
floorSignalQueue
Queue for incoming floor signals for post-update processing |
protected java.util.List<EditMessage<IU>> |
leftBufferQueue
Queue for left-buffer EditMessages for post-update processing |
protected boolean |
updating
Flag for whether the DM is currently updating itself |
| Fields inherited from class inpro.incremental.IUModule |
|---|
iulisteners, logger, PROP_HYP_CHANGE_LISTENERS, PROP_LOG_TO_TEDVIEW, PROP_TEDVIEW_LOG_ADDRESS, PROP_TEDVIEW_LOG_PORT, rightBuffer, tedLogAdapter |
| Constructor Summary | |
|---|---|
AbstractDialogueManager()
|
|
| Method Summary | |
|---|---|
void |
done(DialogueActIU iu)
Listens to an action manager. |
void |
floor(AbstractFloorTracker.Signal signal,
AbstractFloorTracker floorManager)
Listens for floor changes and updates the InformationState Must call postUpdate() if calling this method. |
void |
leftBufferUpdate(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
Queues edits for later processing. |
protected void |
postUpdate()
To call when updates are done. |
| Methods inherited from class inpro.incremental.IUModule |
|---|
getTime, hypChange, logToTedView, newProperties |
| Methods inherited from class inpro.incremental.PushBuffer |
|---|
reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.cmu.sphinx.util.props.Configurable |
|---|
newProperties |
| Field Detail |
|---|
protected boolean updating
protected java.util.List<EditMessage<IU>> leftBufferQueue
protected java.util.List<DialogueActIU> doneQueue
protected java.util.List<AbstractFloorTracker.Signal> floorSignalQueue
| Constructor Detail |
|---|
public AbstractDialogueManager()
| Method Detail |
|---|
public void floor(AbstractFloorTracker.Signal signal,
AbstractFloorTracker floorManager)
floor in interface AbstractFloorTracker.Listenersignal - the signal describing the change in the floorfloorManager - the floor manager itself. in this way a consumer can request e.g. to change timeouts
public void leftBufferUpdate(java.util.Collection<? extends IU> ius,
java.util.List<? extends EditMessage<? extends IU>> edits)
leftBufferUpdate in class IUModuleius - list of IUs that make up the current hypothesisedits - a list of edits since the last callpublic void done(DialogueActIU iu)
done in interface AudioActionManager.Listenerprotected void postUpdate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||