nl.tudelft.goal.EIS2Java.handlers
Class AllPerceptPerceptHandler

Package class diagram package AllPerceptPerceptHandler
java.lang.Object
  extended by nl.tudelft.goal.EIS2Java.handlers.PerceptHandler
      extended by nl.tudelft.goal.EIS2Java.handlers.AbstractPerceptHandler
          extended by nl.tudelft.goal.EIS2Java.handlers.AllPerceptPerceptHandler

public final class AllPerceptPerceptHandler
extends AbstractPerceptHandler


Field Summary
 
Fields inherited from class nl.tudelft.goal.EIS2Java.handlers.AbstractPerceptHandler
entity, previousPercepts
 
Constructor Summary
AllPerceptPerceptHandler(AllPerceptsProvider entity)
           
 
Method Summary
 LinkedList<eis.iilang.Percept> getAllPercepts()
          Collects all percepts provided by the registered entity through AsPercept annotations.
 
Methods inherited from class nl.tudelft.goal.EIS2Java.handlers.AbstractPerceptHandler
translatePercepts, unpackPerceptObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllPerceptPerceptHandler

public AllPerceptPerceptHandler(AllPerceptsProvider entity)
                         throws eis.exceptions.EntityException
Throws:
eis.exceptions.EntityException
Method Detail

getAllPercepts

public final LinkedList<eis.iilang.Percept> getAllPercepts()
                                                    throws eis.exceptions.PerceiveException
Description copied from class: PerceptHandler
Collects all percepts provided by the registered entity through AsPercept annotations.

Specified by:
getAllPercepts in class PerceptHandler
Returns:
a list of the collected percepts
Throws:
eis.exceptions.PerceiveException


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.