cz.cuni.amis.pogamut.ut2004.agent.module.logic
Class SyncUT2004BotLogic<BOT extends UT2004Bot<? extends ILockableVisionWorldView,?,?>>

Package class diagram package SyncUT2004BotLogic
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.ut2004.agent.module.logic.UT2004BotLogic<BOT>
              extended by cz.cuni.amis.pogamut.ut2004.agent.module.logic.SyncUT2004BotLogic<BOT>
All Implemented Interfaces:
IComponent

public class SyncUT2004BotLogic<BOT extends UT2004Bot<? extends ILockableVisionWorldView,?,?>>
extends UT2004BotLogic<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
SyncUT2004BotLogic(BOT agent, IAgentLogic logic)
           
SyncUT2004BotLogic(BOT agent, IAgentLogic logic, Logger log)
           
SyncUT2004BotLogic(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.ut2004.agent.module.logic.UT2004BotLogic
cleanUp, 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
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

SyncUT2004BotLogic

@Inject
public SyncUT2004BotLogic(BOT agent,
                                 IAgentLogic logic)

SyncUT2004BotLogic

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

SyncUT2004BotLogic

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

beforeLogic

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

afterLogic

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

afterLogicException

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

shouldExecuteLogic

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


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