cz.cuni.amis.pogamut.udk.agent.module.logic
Class UDKBotLogic<BOT extends UDKBot>

Package class diagram package UDKBotLogic
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>
All Implemented Interfaces:
IComponent
Direct Known Subclasses:
AsyncUDKBotLogic, SyncUDKBotLogic

public class UDKBotLogic<BOT extends UDKBot>
extends LogicModule<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
UDKBotLogic(BOT agent, IAgentLogic logic)
           
UDKBotLogic(BOT agent, IAgentLogic logic, Logger log)
           
UDKBotLogic(BOT agent, IAgentLogic logic, Logger log, ComponentDependencies dependencies)
           
 
Method Summary
protected  void logicLatch(String threadName)
           
protected  void start(boolean startPaused)
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.LogicModule
afterLogic, afterLogicException, beforeLogic, getLogicException, getLogicFrequency, getLogicPeriod, inThreadKilling, inThreadPausing, inThreadResuming, inThreadStopping, kill, pause, resume, setLogicFrequency, setMaxLogicFrequency, setMinLogicFrequency, shouldExecuteLogic, 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

UDKBotLogic

@Inject
public UDKBotLogic(BOT agent,
                          IAgentLogic logic)

UDKBotLogic

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

UDKBotLogic

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

logicLatch

protected void logicLatch(String threadName)
Overrides:
logicLatch in class LogicModule<BOT extends UDKBot>

start

protected void start(boolean startPaused)
              throws AgentException
Overrides:
start in class LogicModule<BOT extends UDKBot>
Throws:
AgentException


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