de.jaetzold.art.examples
Class SubsumptionTrusty

java.lang.Object
  |
  +--de.jaetzold.art.examples.SubsumptionTrusty
All Implemented Interfaces:
Trusty
Direct Known Subclasses:
SubsumptionAriadne

public class SubsumptionTrusty
extends Object
implements Trusty


Inner Class Summary
static interface SubsumptionTrusty.Robot
           
 
Field Summary
protected  Task avoidLeft
           
protected  Task avoidRight
           
protected  Task move
           
protected  SchedulerTask scheduler
           
protected  TaskPerformer schedulerPerformer
           
protected  Trusty trusty
           
 
Fields inherited from interface de.jaetzold.art.examples.Trusty
AVOID_LEFT, AVOID_RIGHT, MOVE, STOP
 
Constructor Summary
SubsumptionTrusty()
           
SubsumptionTrusty(SubsumptionTrusty.Robot robot)
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 void avoidLeft()
           
 void avoidRight()
           
 TaskPerformer getSchedulerPerformer()
           
 SchedulerTask getSchedulerTask()
           
 int getState()
           
static void main(String[] argv)
           
 void move()
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trusty

protected Trusty trusty

move

protected Task move

avoidLeft

protected Task avoidLeft

avoidRight

protected Task avoidRight

scheduler

protected SchedulerTask scheduler

schedulerPerformer

protected TaskPerformer schedulerPerformer
Constructor Detail

SubsumptionTrusty

public SubsumptionTrusty(SubsumptionTrusty.Robot robot)

SubsumptionTrusty

public SubsumptionTrusty()
                  throws Exception
Method Detail

getSchedulerTask

public SchedulerTask getSchedulerTask()

getSchedulerPerformer

public TaskPerformer getSchedulerPerformer()

move

public void move()
Specified by:
move in interface Trusty

stop

public void stop()
Specified by:
stop in interface Trusty

avoidLeft

public void avoidLeft()
Specified by:
avoidLeft in interface Trusty

avoidRight

public void avoidRight()
Specified by:
avoidRight in interface Trusty

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener l)

getState

public int getState()
Specified by:
getState in interface Trusty

main

public static void main(String[] argv)
                 throws Exception