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

Package class diagram package USAR2004BotLogicController
java.lang.Object
  extended by cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController<BOT>
      extended by cz.cuni.amis.pogamut.usar2004.agent.module.logic.USAR2004BotLogicController<BOT>
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>, IUSAR2004BotController<BOT>, IUSAR2004BotLogicController<BOT,cz.cuni.amis.pogamut.base.agent.module.LogicModule>
Direct Known Subclasses:
AerialVehicle, LeggedLogicSampleRobot, P2DXLogicController, Submarine

public class USAR2004BotLogicController<BOT extends USAR2004Bot>
extends USAR2004BotController<BOT>
implements IUSAR2004BotLogicController<BOT,cz.cuni.amis.pogamut.base.agent.module.LogicModule>


Field Summary
protected  SyncUSAR2004BotLogic logicModule
           
 
Fields inherited from class cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
bot, log, user, USER_LOG_CATEGORY_ID
 
Constructor Summary
USAR2004BotLogicController()
           
 
Method Summary
 void beforeFirstLogic()
           
 long getLogicInitializeTime()
           
 long getLogicShutdownTime()
           
 void initializeController(BOT bot)
          Called during the construction of the UT2004Bot before the GameBots2004 greets the bot even before IUT2004BotController#prepareBot(UT2004Bot) method.
 void logic()
           
 void logicInitialize(cz.cuni.amis.pogamut.base.agent.module.LogicModule logicModule)
           
 void logicShutdown()
           
 
Methods inherited from class cz.cuni.amis.pogamut.usar2004.agent.USAR2004BotController
getAct, getLog, getWorldView, prepareBot, robotInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.usar2004.agent.IUSAR2004BotController
prepareBot, robotInitialized
 

Field Detail

logicModule

protected SyncUSAR2004BotLogic logicModule
Constructor Detail

USAR2004BotLogicController

public USAR2004BotLogicController()
Method Detail

initializeController

public void initializeController(BOT bot)
Description copied from interface: IUSAR2004BotController
Called during the construction of the UT2004Bot before the GameBots2004 greets the bot even before IUT2004BotController#prepareBot(UT2004Bot) method.

NOTE: This is Pogamut's developers reserved method - do not override it and if you do, always use 'super' to call parent's initializeController.

Specified by:
initializeController in interface IUSAR2004BotController<BOT extends USAR2004Bot>
Overrides:
initializeController in class USAR2004BotController<BOT extends USAR2004Bot>

getLogicInitializeTime

public long getLogicInitializeTime()
Specified by:
getLogicInitializeTime in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>

getLogicShutdownTime

public long getLogicShutdownTime()
Specified by:
getLogicShutdownTime in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>

beforeFirstLogic

public void beforeFirstLogic()
Specified by:
beforeFirstLogic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>

logicInitialize

public void logicInitialize(cz.cuni.amis.pogamut.base.agent.module.LogicModule logicModule)
Specified by:
logicInitialize in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>

logicShutdown

public void logicShutdown()
Specified by:
logicShutdown in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>

logic

public void logic()
Specified by:
logic in interface cz.cuni.amis.pogamut.base.agent.module.IAgentLogic<cz.cuni.amis.pogamut.base.agent.module.LogicModule>


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