cz.cuni.amis.pogamut.base3d.agent.jmx
Class Agent3DJMXProxy

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.jmx.proxy.AgentJMXProxy
      extended by cz.cuni.amis.pogamut.base.agent.jmx.proxy.GhostAgentJMXProxy
          extended by cz.cuni.amis.pogamut.base3d.agent.jmx.Agent3DJMXProxy
All Implemented Interfaces:
IAgent, IEmbodiedAgent, IGhostAgent, IObservingAgent, IComponent, IComponentAware, IControllable, IAgent3D, ILocated, ILocomotive, IRotable
Direct Known Subclasses:
BotJMXProxy

public class Agent3DJMXProxy
extends GhostAgentJMXProxy
implements IAgent3D


Constructor Summary
Agent3DJMXProxy(java.lang.String agentJMXAddress)
           
 
Method Summary
 Location getLocation()
          Retreives current location of the object.
 Rotation getRotation()
          Retreives current rotation of the object.
 Velocity getVelocity()
          Retreives current direction and velocity of movement of the object.
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.jmx.proxy.GhostAgentJMXProxy
getAct, getWorldView
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.jmx.proxy.AgentJMXProxy
call, callNoException, callNoException, getAttributeNoException, getComponentId, getEventBus, getIntrospection, getLog, getLogger, getMBeanServerConnection, getName, getObjectName, getState, kill, pause, resume, start, startPaused, stop
 
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.base.agent.IEmbodiedAgent
getAct
 
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

Agent3DJMXProxy

public Agent3DJMXProxy(java.lang.String agentJMXAddress)
                throws java.net.MalformedURLException,
                       java.io.IOException,
                       javax.management.MalformedObjectNameException
Throws:
java.net.MalformedURLException
java.io.IOException
javax.management.MalformedObjectNameException
Method Detail

getLocation

public Location getLocation()
Description copied from interface: ILocated
Retreives current location of the object.

Specified by:
getLocation in interface ILocated
Returns:
Current location of the object, represented as a point within the world's coordinates.

getVelocity

public Velocity getVelocity()
Description copied from interface: ILocomotive
Retreives current direction and velocity of movement of the object.

Specified by:
getVelocity in interface ILocomotive
Returns:
Current direction in which the object is moving and absolute velocity of the object within the world. The direction is represented as a vector within the world's coordinates. The size of velocity is represented by length of that vector.

getRotation

public Rotation getRotation()
Description copied from interface: IRotable
Retreives current rotation of the object.

Specified by:
getRotation in interface IRotable
Returns:
Current rotation of the object, represented as yaw, roll and pitch.