cz.cuni.amis.pogamut.udk.communication.translator.observer.state
Class NavPointListState
java.lang.Object
cz.cuni.amis.pogamut.udk.communication.translator.observer.support.AbstractObserverFSMState<InfoMessage,TranslatorContext>
cz.cuni.amis.pogamut.udk.communication.translator.observer.state.NavPointListState
- All Implemented Interfaces:
- cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
public class NavPointListState
- extends AbstractObserverFSMState<InfoMessage,TranslatorContext>
Takes care of the navpoint list. It stores them inside a List object and when END message comes it sends
them to the world view via NavPointListObtained event, note that before we send the nav points we're doing
the preprocessing of those navpoints to interconnect them with links (NavPointNeighbourLink) filling
respective fileds of incomingEdges and outgoingEdges.
The processing of navpoints and it's links is done via TranslatorContext.processNavPointLinks().
- Author:
- Jimmy
NavPointListState
public NavPointListState()
stateEntering
public void stateEntering(TranslatorContext context,
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> fromState,
InfoMessage symbol)
stateLeaving
public void stateLeaving(TranslatorContext context,
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
innerStateSymbol
protected void innerStateSymbol(TranslatorContext context,
InfoMessage symbol)
- Specified by:
innerStateSymbol
in class AbstractObserverFSMState<InfoMessage,TranslatorContext>
init
public void init(TranslatorContext context)
restart
public void restart(TranslatorContext context)
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.