Aria  2.8.0
ArResolver Class Referenceabstract

Resolves a list of actions and returns what to do. More...

#include <ArResolver.h>

Inherited by ArPriorityResolver.

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
 

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.


The documentation for this class was generated from the following file: