cz.cuni.amis.pogamut.ut2004.agent.navigation
Class UT2004PathExecutorStuckState

Package class diagram package UT2004PathExecutorStuckState
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutorState
      extended by cz.cuni.amis.pogamut.ut2004.agent.navigation.UT2004PathExecutorStuckState
All Implemented Interfaces:
IPathExecutorState

public class UT2004PathExecutorStuckState
extends BasePathExecutorState

This class is broadcast by UT2004PathExecutor whenever it gets stuck. It contains detail information about whereabouts of the stuck.

Author:
Jimmy

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutorState
FOLLOW_PATH_CALLED, INSTANTIATED, PATH_COMPUTATION_FAILED, PATH_COMPUTED, STOPPED, STUCK, SWITCHED_TO_ANOTHER_PATH_ELEMENT, TARGET_REACHED
 
Constructor Summary
UT2004PathExecutorStuckState()
           
 
Method Summary
 NavPointNeighbourLink getLink()
          If available contains NavPointNeighbourLink we have failed to traverse.
 IStuckDetector getStuckDetector()
          If not NULL, contains IStuckDetector that has reported the stuck ~ why we have stopped the execution.
 boolean isGlobalTimeout()
          Whether it was GLOBAL timeout (imposed by UT2004PathExecutor) == true, or it was detected by getStuckDetector() == false.
protected  void setGlobalTimeout(boolean globalTimeout)
           
protected  void setLink(NavPointNeighbourLink link)
           
protected  void setStuckDetector(IStuckDetector stuckDetector)
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutorState
getState, getState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004PathExecutorStuckState

public UT2004PathExecutorStuckState()
Method Detail

isGlobalTimeout

public boolean isGlobalTimeout()
Whether it was GLOBAL timeout (imposed by UT2004PathExecutor) == true, or it was detected by getStuckDetector() == false.

Returns:

setGlobalTimeout

protected void setGlobalTimeout(boolean globalTimeout)

getStuckDetector

public IStuckDetector getStuckDetector()
If not NULL, contains IStuckDetector that has reported the stuck ~ why we have stopped the execution.

Returns:

setStuckDetector

protected void setStuckDetector(IStuckDetector stuckDetector)

getLink

public NavPointNeighbourLink getLink()
If available contains NavPointNeighbourLink we have failed to traverse.

Returns:

setLink

protected void setLink(NavPointNeighbourLink link)


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