cz.cuni.amis.pogamut.base.agent.impl
Class AbstractEmbodiedAgent<WORLD_VIEW extends IWorldView,ACT extends IAct>

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
      extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractObservingAgent<WORLD_VIEW>
          extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractGhostAgent<WORLD_VIEW,ACT>
              extended by cz.cuni.amis.pogamut.base.agent.impl.AbstractEmbodiedAgent<WORLD_VIEW,ACT>
All Implemented Interfaces:
IAgent, IEmbodiedAgent, IGhostAgent, IObservingAgent, IComponent, IComponentAware, IControllable
Direct Known Subclasses:
AbstractAgent3D

public abstract class AbstractEmbodiedAgent<WORLD_VIEW extends IWorldView,ACT extends IAct>
extends AbstractGhostAgent<WORLD_VIEW,ACT>
implements IEmbodiedAgent


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
events, INTROSPECTION_ROOT_NAME, log
 
Constructor Summary
AbstractEmbodiedAgent(IAgentId agentId, IComponentBus bus, IAgentLogger logger, WORLD_VIEW worldView, ACT act)
           
 
Method Summary
 ACT getAct()
          Returns an object through which we may communicate with the world.
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractObservingAgent
getWorldView
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AbstractAgent
addDependency, addDependency, addDependency, addJMXComponents, awaitState, awaitState, componentFatalError, componentStarted, componentStarted, componentStopped, componentStopping, createAgentJMX, createIntrospection, equals, getComponentId, getEventBus, getIntrospection, getJMX, getLog, getLogger, getName, getState, hashCode, inState, kill, killAgent, notInState, pause, pauseAgent, preKillAgent, preStopAgent, resetAgent, resetEvent, resume, resumeAgent, setState, start, startAgent, startPaused, startPausedAgent, stop, stopAgent, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IObservingAgent
getWorldView
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IAgent
getComponentId, getIntrospection, getLogger, getName, getState, kill, pause, resume, start, startPaused, stop
 
Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponentAware
getEventBus
 

Constructor Detail

AbstractEmbodiedAgent

@Inject
public AbstractEmbodiedAgent(IAgentId agentId,
                                    IComponentBus bus,
                                    IAgentLogger logger,
                                    WORLD_VIEW worldView,
                                    ACT act)
Method Detail

getAct

public ACT getAct()
Description copied from interface: IGhostAgent
Returns an object through which we may communicate with the world. Represents the agent effectors providing a low-level act() method. You have to instantiate CommandObject for yourself.

Specified by:
getAct in interface IEmbodiedAgent
Specified by:
getAct in interface IGhostAgent
Overrides:
getAct in class AbstractGhostAgent<WORLD_VIEW extends IWorldView,ACT extends IAct>
Returns: