cz.cuni.amis.pogamut.usar2004.agent.module.logic
Class USAR2004BotLogic<BOT extends USAR2004Bot>

Package class diagram package USAR2004BotLogic
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.usar2004.agent.module.logic.USAR2004BotLogic<BOT>
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.component.IComponent
Direct Known Subclasses:
SyncUSAR2004BotLogic

public class USAR2004BotLogic<BOT extends USAR2004Bot>
extends cz.cuni.amis.pogamut.base.agent.module.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
USAR2004BotLogic(BOT agent, cz.cuni.amis.pogamut.base.agent.module.IAgentLogic logic)
           
USAR2004BotLogic(BOT agent, cz.cuni.amis.pogamut.base.agent.module.IAgentLogic logic, Logger log)
           
USAR2004BotLogic(BOT agent, cz.cuni.amis.pogamut.base.agent.module.IAgentLogic logic, Logger log, cz.cuni.amis.pogamut.base.component.controller.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

USAR2004BotLogic

@Inject
public USAR2004BotLogic(BOT agent,
                               cz.cuni.amis.pogamut.base.agent.module.IAgentLogic logic)

USAR2004BotLogic

public USAR2004BotLogic(BOT agent,
                        cz.cuni.amis.pogamut.base.agent.module.IAgentLogic logic,
                        Logger log)

USAR2004BotLogic

public USAR2004BotLogic(BOT agent,
                        cz.cuni.amis.pogamut.base.agent.module.IAgentLogic logic,
                        Logger log,
                        cz.cuni.amis.pogamut.base.component.controller.ComponentDependencies dependencies)
Method Detail

logicLatch

protected void logicLatch(String threadName)
Overrides:
logicLatch in class cz.cuni.amis.pogamut.base.agent.module.LogicModule<BOT extends USAR2004Bot>

start

protected void start(boolean startPaused)
              throws cz.cuni.amis.pogamut.base.agent.exceptions.AgentException
Overrides:
start in class cz.cuni.amis.pogamut.base.agent.module.LogicModule<BOT extends USAR2004Bot>
Throws:
cz.cuni.amis.pogamut.base.agent.exceptions.AgentException

cleanUp

protected void cleanUp()
                throws cz.cuni.amis.pogamut.base.agent.exceptions.AgentException
Overrides:
cleanUp in class cz.cuni.amis.pogamut.base.agent.module.AgentModule<BOT extends USAR2004Bot>
Throws:
cz.cuni.amis.pogamut.base.agent.exceptions.AgentException


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