cz.cuni.amis.pogamut.defcon.agent.module.logic
Class DefConAgentLogic<AGENT extends DefConAgent>

Package class diagram package DefConAgentLogic
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.LogicModule<AGENT>
          extended by cz.cuni.amis.pogamut.defcon.agent.module.logic.DefConAgentLogic<AGENT>
Type Parameters:
AGENT -
All Implemented Interfaces:
IComponent

public class DefConAgentLogic<AGENT extends DefConAgent>
extends LogicModule<AGENT>

Defcon logic module.

Author:
Radek 'Black_Hand' Pibil

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

DefConAgentLogic

@Inject
public DefConAgentLogic(AGENT agent,
                               IAgentLogic<LogicModule<AGENT>> logic)

DefConAgentLogic

public DefConAgentLogic(AGENT agent,
                        IAgentLogic<LogicModule<AGENT>> logic,
                        Logger log)

DefConAgentLogic

public DefConAgentLogic(AGENT agent,
                        IAgentLogic<LogicModule<AGENT>> logic,
                        Logger log,
                        ComponentDependencies dependencies)
Method Detail

beforeLogic

protected void beforeLogic(String threadName)
Overrides:
beforeLogic in class LogicModule<AGENT extends DefConAgent>

afterLogic

protected void afterLogic(String threadName)
Overrides:
afterLogic in class LogicModule<AGENT extends DefConAgent>


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