Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

ArResolver Class Reference

#include <ArResolver.h>

Inheritance diagram for ArResolver:

ArPriorityResolver List of all members.

Detailed Description

Resolves a list of actions and returns what to do.

ArResolver::resolve() is the function that ArRobot calls with the action list in order to produce a combined ArActionDesired object from them, according to the subclass's particular algorithm or policy.


Public Types

typedef std::multimap< int,
ArAction * > 
ActionMap
 Constructor.

Public Member Functions

 ArResolver (const char *name, const char *description="")
virtual const char * getDescription (void) const
 Gets the long description fo the resolver.
virtual const char * getName (void) const
 Gets the name of the resolver.
virtual ArActionDesiredresolve (ActionMap *actions, ArRobot *robot, bool logActions=false)=0
 Figure out a single ArActionDesired from a list of ArAction s.
virtual ~ArResolver ()
 Desturctor.

Protected Attributes

std::string myDescription
std::string myName


The documentation for this class was generated from the following file:
Generated on Thu Jan 7 10:34:43 2010 for Aria by  doxygen 1.4.2