cz.cuni.amis.pogamut.udk.communication.translator.bot.state
Class NavPointNeighboursState

Package class diagram package NavPointNeighboursState
java.lang.Object
  extended by cz.cuni.amis.pogamut.udk.communication.translator.bot.support.AbstractBotFSMState<InfoMessage,CONTEXT>
      extended by cz.cuni.amis.pogamut.udk.communication.translator.bot.support.BotListState<NavPointNeighbourLink,TranslatorContext>
          extended by cz.cuni.amis.pogamut.udk.communication.translator.bot.state.NavPointNeighboursState
All Implemented Interfaces:
cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>

public class NavPointNeighboursState
extends BotListState<NavPointNeighbourLink,TranslatorContext>

Takes care of the navpoint neighbour list. It stores them inside a List object and when END message comes it stores them inside the context via context.setNeighbours() for the NavPointListState that will use context.getNeighbours() to obtain them.

Author:
Jimmy

Constructor Summary
NavPointNeighboursState()
           
 
Method Summary
 void stateLeaving(TranslatorContext translatorContext, cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState, InfoMessage symbol)
           
 
Methods inherited from class cz.cuni.amis.pogamut.udk.communication.translator.bot.support.BotListState
getList, init, newList, restart, stateEntering, stateSymbol
 
Methods inherited from class cz.cuni.amis.pogamut.udk.communication.translator.bot.support.AbstractBotFSMState
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NavPointNeighboursState

public NavPointNeighboursState()
Method Detail

stateLeaving

public void stateLeaving(TranslatorContext translatorContext,
                         cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext> toState,
                         InfoMessage symbol)
Specified by:
stateLeaving in interface cz.cuni.amis.fsm.IFSMState<InfoMessage,TranslatorContext>
Overrides:
stateLeaving in class BotListState<NavPointNeighbourLink,TranslatorContext>


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.