cz.cuni.amis.pogamut.usar2004.agent.module.logic
Class USAR2004BotLogic<BOT extends USAR2004Bot>
java.lang.Object
cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
cz.cuni.amis.pogamut.base.agent.module.LogicModule<BOT>
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>
| 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)
|
| 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 |
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)
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.