cz.cuni.amis.pogamut.udk.agent.module.logic
Class SyncUDKBotLogic<BOT extends UDKBot<? extends ILockableVisionWorldView,?,?>>

Package class diagram package SyncUDKBotLogic
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.LogicModule<BOT>
          extended by cz.cuni.amis.pogamut.udk.agent.module.logic.UDKBotLogic<BOT>
              extended by cz.cuni.amis.pogamut.udk.agent.module.logic.SyncUDKBotLogic<BOT>
All Implemented Interfaces:
IComponent

public class SyncUDKBotLogic<BOT extends UDKBot<? extends ILockableVisionWorldView,?,?>>
extends UDKBotLogic<BOT>


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.LogicModule
lastLogicRun, logic, logicException, logicFrequency, logicPaused, logicPeriod, logicRunning, logicShouldPause, logicShouldRun, logicThread, MAX_LOGIC_FREQUENCY, MAX_LOGIC_PERIOD_MILLIS, MIN_LOGIC_FREQUENCY, MIN_LOGIC_PERIOD_MILLIS, mutex
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
SyncUDKBotLogic(BOT agent, IAgentLogic logic)
           
SyncUDKBotLogic(BOT agent, IAgentLogic logic, Logger log)
           
SyncUDKBotLogic(BOT agent, IAgentLogic logic, Logger log, ComponentDependencies dependencies)
           
 
Method Summary
protected  void afterLogic(String threadName)
           
protected  void afterLogicException(String threadName, Throwable e)
           
protected  void beforeLogic(String threadName)
           
protected  boolean shouldExecuteLogic()
           
 
Methods inherited from class cz.cuni.amis.pogamut.udk.agent.module.logic.UDKBotLogic
logicLatch, start
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.LogicModule
getLogicException, getLogicFrequency, getLogicPeriod, inThreadKilling, inThreadPausing, inThreadResuming, inThreadStopping, kill, pause, resume, setLogicFrequency, setMaxLogicFrequency, setMinLogicFrequency, stop
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
cleanUp, getComponentId, getLog, getState, initComponentId, isRunning, reset, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyncUDKBotLogic

@Inject
public SyncUDKBotLogic(BOT agent,
                              IAgentLogic logic)

SyncUDKBotLogic

public SyncUDKBotLogic(BOT agent,
                       IAgentLogic logic,
                       Logger log)

SyncUDKBotLogic

public SyncUDKBotLogic(BOT agent,
                       IAgentLogic logic,
                       Logger log,
                       ComponentDependencies dependencies)
Method Detail

beforeLogic

protected void beforeLogic(String threadName)
Overrides:
beforeLogic in class LogicModule<BOT extends UDKBot<? extends ILockableVisionWorldView,?,?>>

afterLogic

protected void afterLogic(String threadName)
Overrides:
afterLogic in class LogicModule<BOT extends UDKBot<? extends ILockableVisionWorldView,?,?>>

afterLogicException

protected void afterLogicException(String threadName,
                                   Throwable e)
Overrides:
afterLogicException in class LogicModule<BOT extends UDKBot<? extends ILockableVisionWorldView,?,?>>

shouldExecuteLogic

protected boolean shouldExecuteLogic()
Overrides:
shouldExecuteLogic in class LogicModule<BOT extends UDKBot<? extends ILockableVisionWorldView,?,?>>


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