cz.cuni.amis.pogamut.ut2004.agent.module.logic
Class UT2004BotLogic<BOT extends UT2004Bot>

Package class diagram package UT2004BotLogic
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>
All Implemented Interfaces:
IComponent
Direct Known Subclasses:
AsyncUT2004BotLogic, SyncUT2004BotLogic

public class UT2004BotLogic<BOT extends UT2004Bot>
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
UT2004BotLogic(BOT agent, IAgentLogic logic)
           
UT2004BotLogic(BOT agent, IAgentLogic logic, Logger log)
           
UT2004BotLogic(BOT agent, IAgentLogic logic, Logger log, ComponentDependencies dependencies)
           
 
Method Summary
protected  void cleanUp()
           
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
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

UT2004BotLogic

@Inject
public UT2004BotLogic(BOT agent,
                             IAgentLogic logic)

UT2004BotLogic

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

UT2004BotLogic

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

logicLatch

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

start

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

cleanUp

protected void cleanUp()
                throws AgentException
Overrides:
cleanUp in class AgentModule<BOT extends UT2004Bot>
Throws:
AgentException


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