public abstract class AbstractUnrealEnvironment extends SimpleTransitioningEnvironment implements cz.cuni.amis.pogamut.base.component.IComponent
| Modifier and Type | Field and Description |
|---|---|
protected BotParameters |
botParameters |
protected EnvironmentParameters |
environmentParameters |
protected cz.cuni.amis.pogamut.base.utils.logging.LogCategory |
log |
| Constructor and Description |
|---|
AbstractUnrealEnvironment()
Constructs the Unreal Environment.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectEnvironment() |
protected abstract nl.tudelft.goal.EIS2Java.handlers.ActionHandler |
createActionHandler(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController controller) |
protected abstract nl.tudelft.goal.EIS2Java.handlers.PerceptHandler |
createPerceptHandler(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController controller) |
cz.cuni.amis.pogamut.base.agent.IAgentId |
getComponentId()
Provides an unique identifier for this component for use by loggers.
|
protected abstract Class<? extends cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController> |
getControlerClass() |
String |
getName() |
protected void |
initializeEnvironment(Map<String,eis.iilang.Parameter> parameters) |
protected boolean |
isSupportedByEnvironment(eis.iilang.Action arg0) |
protected boolean |
isSupportedByType(eis.iilang.Action arg0,
String arg1) |
protected void |
killEnvironment() |
protected void |
pauseEvironment() |
protected abstract void |
registerTranslators() |
protected void |
startEnvironment() |
protected void |
synchronizedDeleteEntity(String name)
Synchronized version of
AbstractEnvironment.deleteEntity. |
String |
toString()
Returns a string representation of the environment based on ID of the
environment.
|
init, kill, pause, startdeleteEntity, getAllPerceptsFromEntity, getEntity, isSupportedByEntity, performEntityAction, registerEntity, registerEntity, registerEntity, registerEntity, requiredVersionaddEntity, 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, unregisterAgentprotected final cz.cuni.amis.pogamut.base.utils.logging.LogCategory log
protected BotParameters botParameters
protected EnvironmentParameters environmentParameters
public AbstractUnrealEnvironment()
protected abstract void registerTranslators()
public cz.cuni.amis.pogamut.base.agent.IAgentId getComponentId()
getComponentId in interface cz.cuni.amis.pogamut.base.component.IComponentpublic String toString()
public String getName()
protected void initializeEnvironment(Map<String,eis.iilang.Parameter> parameters) throws eis.exceptions.ManagementException
initializeEnvironment in class SimpleTransitioningEnvironmenteis.exceptions.ManagementExceptionprotected void connectEnvironment()
throws eis.exceptions.ManagementException
connectEnvironment in class SimpleTransitioningEnvironmenteis.exceptions.ManagementExceptionprotected abstract Class<? extends cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController> getControlerClass()
protected abstract nl.tudelft.goal.EIS2Java.handlers.PerceptHandler createPerceptHandler(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController controller)
throws eis.exceptions.EntityException
eis.exceptions.EntityExceptionprotected abstract nl.tudelft.goal.EIS2Java.handlers.ActionHandler createActionHandler(cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController controller)
throws eis.exceptions.EntityException
eis.exceptions.EntityExceptionprotected void startEnvironment()
throws eis.exceptions.ManagementException
startEnvironment in class SimpleTransitioningEnvironmenteis.exceptions.ManagementExceptionprotected void pauseEvironment()
pauseEvironment in class SimpleTransitioningEnvironmentprotected void killEnvironment()
killEnvironment in class SimpleTransitioningEnvironmentprotected void synchronizedDeleteEntity(String name)
AbstractEnvironment.deleteEntity. Used by
AgentDownListener to removed agents that have shut down.entity - to remove.protected boolean isSupportedByEnvironment(eis.iilang.Action arg0)
isSupportedByEnvironment in class eis.EIDefaultImplprotected boolean isSupportedByType(eis.iilang.Action arg0,
String arg1)
isSupportedByType in class eis.EIDefaultImplCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.