cz.cuni.amis.pogamut.ut2004multi.factory.guice.remoteagent
Class UT2004MultiBotModule<PARAMS extends UT2004BotParameters>

Package class diagram package UT2004MultiBotModule
java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentModule<PARAMS>
          extended by cz.cuni.amis.pogamut.base.factory.guice.GuiceCommunicationModule<PARAMS>
              extended by cz.cuni.amis.pogamut.base.factory.guice.GuiceRemoteAgentModule<PARAMS>
                  extended by cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004CommunicationModule<PARAMS>
                      extended by cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004BotModule<PARAMS>
                          extended by cz.cuni.amis.pogamut.ut2004multi.factory.guice.remoteagent.UT2004MultiBotModule<PARAMS>
All Implemented Interfaces:
com.google.inject.Module

public class UT2004MultiBotModule<PARAMS extends UT2004BotParameters>
extends UT2004BotModule<PARAMS>

Implements a bot module using shared WorldView

Author:
srlok

Field Summary
protected  AdaptableProvider<TeamedAgentId> teamedIdProvider
           
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004BotModule
worldViewDependenciesProvider
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.factory.guice.remoteagent.UT2004CommunicationModule
connectionDependenciesProvider
 
Constructor Summary
protected UT2004MultiBotModule()
           
  UT2004MultiBotModule(Class<? extends IUT2004BotController> botControllerClass)
           
 
Method Summary
protected  void configureModules()
           
protected  com.google.inject.Provider<TeamedAgentId> getTeamedAgentIdProvider()
           
 void prepareNewAgent(PARAMS agentParameters)
          Binds runtime dependencies to the module/Injector.
 
Methods inherited from class cz.cuni.amis.pogamut.base.factory.guice.GuiceRemoteAgentModule
getAddressProvider
 
Methods inherited from class cz.cuni.amis.pogamut.base.factory.guice.GuiceAgentModule
addModule, configure, createAgentScope, createAgentTeamScope, getAgentIdProvider, getAgentParamsProvider, getAgentScope, getAgentTeamScope
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

teamedIdProvider

protected AdaptableProvider<TeamedAgentId> teamedIdProvider
Constructor Detail

UT2004MultiBotModule

protected UT2004MultiBotModule()

UT2004MultiBotModule

public UT2004MultiBotModule(Class<? extends IUT2004BotController> botControllerClass)
Method Detail

prepareNewAgent

public void prepareNewAgent(PARAMS agentParameters)
Description copied from class: UT2004CommunicationModule
Binds runtime dependencies to the module/Injector.

Must be called before the new agent is instantiated with Injector.

Overrides:
prepareNewAgent in class UT2004BotModule<PARAMS extends UT2004BotParameters>

getTeamedAgentIdProvider

protected com.google.inject.Provider<TeamedAgentId> getTeamedAgentIdProvider()

configureModules

protected void configureModules()
Overrides:
configureModules in class UT2004BotModule<PARAMS extends UT2004BotParameters>


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