nl.tudelft.goal.unreal.environment
Class AbstractUnrealEnvironment
java.lang.Object
eis.EIDefaultImpl
nl.tudelft.goal.EIS2Java.environment.AbstractEnvironment
nl.tudelft.goal.unreal.environment.SimpleTransitioningEnvironment
nl.tudelft.goal.unreal.environment.AbstractUnrealEnvironment
- All Implemented Interfaces:
- cz.cuni.amis.pogamut.base.component.IComponent, eis.EnvironmentInterfaceStandard, Serializable
public abstract class AbstractUnrealEnvironment
- extends SimpleTransitioningEnvironment
- implements cz.cuni.amis.pogamut.base.component.IComponent
- See Also:
- Serialized Form
Methods inherited from class nl.tudelft.goal.EIS2Java.environment.AbstractEnvironment |
deleteEntity, getAllPerceptsFromEntity, getEntity, isSupportedByEntity, performEntityAction, registerEntity, registerEntity, registerEntity, registerEntity, requiredVersion |
Methods inherited from class eis.EIDefaultImpl |
addEntity, addEntity, associateEntity, attachAgentListener, attachEnvironmentListener, detachAgentListener, detachEnvironmentListener, freeAgent, freeEntity, freePair, getAgents, getAllPercepts, getAssociatedAgents, getAssociatedEntities, getEntities, getFreeEntities, getState, getType, isInitSupported, isKillSupported, isPauseSupported, isStartSupported, isStateTransitionValid, notifyAgents, notifyAgentsViaEntity, notifyDeletedEntity, notifyFreeEntity, notifyNewEntity, performAction, queryEntityProperty, queryProperty, registerAgent, setState, setType, unregisterAgent |
log
protected final cz.cuni.amis.pogamut.base.utils.logging.LogCategory log
botParameters
protected BotParameters botParameters
environmentParameters
protected EnvironmentParameters environmentParameters
AbstractUnrealEnvironment
public AbstractUnrealEnvironment()
- Constructs the Unreal Environment. The environment won't be ready until
until is has has been initialized.
registerTranslators
protected abstract void registerTranslators()
getComponentId
public cz.cuni.amis.pogamut.base.agent.IAgentId getComponentId()
- Provides an unique identifier for this component for use by loggers.
- Specified by:
getComponentId
in interface cz.cuni.amis.pogamut.base.component.IComponent
toString
public String toString()
- Returns a string representation of the environment based on ID of the
environment.
- Overrides:
toString
in class Object
- Returns:
- a representation of the environment.
getName
public String getName()
initializeEnvironment
protected void initializeEnvironment(Map<String,eis.iilang.Parameter> parameters)
throws eis.exceptions.ManagementException
- Specified by:
initializeEnvironment
in class SimpleTransitioningEnvironment
- Throws:
eis.exceptions.ManagementException
connectEnvironment
protected void connectEnvironment()
throws eis.exceptions.ManagementException
- Specified by:
connectEnvironment
in class SimpleTransitioningEnvironment
- Throws:
eis.exceptions.ManagementException
getControlerClass
protected abstract Class<? extends UT2004BotController> getControlerClass()
createPerceptHandler
protected abstract nl.tudelft.goal.EIS2Java.handlers.PerceptHandler createPerceptHandler(UT2004BotController controller)
throws eis.exceptions.EntityException
- Throws:
eis.exceptions.EntityException
createActionHandler
protected abstract nl.tudelft.goal.EIS2Java.handlers.ActionHandler createActionHandler(UT2004BotController controller)
throws eis.exceptions.EntityException
- Throws:
eis.exceptions.EntityException
startEnvironment
protected void startEnvironment()
throws eis.exceptions.ManagementException
- Specified by:
startEnvironment
in class SimpleTransitioningEnvironment
- Throws:
eis.exceptions.ManagementException
pauseEvironment
protected void pauseEvironment()
- Specified by:
pauseEvironment
in class SimpleTransitioningEnvironment
killEnvironment
protected void killEnvironment()
- Specified by:
killEnvironment
in class SimpleTransitioningEnvironment
synchronizedDeleteEntity
protected void synchronizedDeleteEntity(String name)
- Synchronized version of
AbstractEnvironment.deleteEntity
. Used by
AgentDownListener
to removed agents that have shut down.
- Parameters:
entity
- to remove.
isSupportedByEnvironment
protected boolean isSupportedByEnvironment(eis.iilang.Action arg0)
- Specified by:
isSupportedByEnvironment
in class eis.EIDefaultImpl
isSupportedByType
protected boolean isSupportedByType(eis.iilang.Action arg0,
String arg1)
- Specified by:
isSupportedByType
in class eis.EIDefaultImpl
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.