robot.de.comp
Class MoveTo

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by org.dyncle.ComponentBehaviour
              extended by robot.de.comp.MoveTo
All Implemented Interfaces:
java.io.Serializable

public class MoveTo
extends ComponentBehaviour

Component for moving to the target

Author:
Hiroyuki NAKAGAWA
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.dyncle.ComponentBehaviour
mode, name, priority, serviceType
 
Fields inherited from class jade.core.behaviours.Behaviour
STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
MoveTo(SASystem agent)
          Constructor
 
Method Summary
 void activate()
          Activates the component's service
 boolean done()
           
 void perform()
          Execution task
 
Methods inherited from class org.dyncle.ComponentBehaviour
action, addPort, connectPorts, disconnectPorts, getName, getPriority, getProvidedPorts, getRequiredPorts, getServiceType, passivate, setName, setServiceType, terminate
 
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getRestartCounter, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveTo

public MoveTo(SASystem agent)
Constructor

Method Detail

done

public boolean done()
Overrides:
done in class ComponentBehaviour

perform

public void perform()
Execution task

Specified by:
perform in class ComponentBehaviour

activate

public void activate()
Activates the component's service

Overrides:
activate in class ComponentBehaviour