Aria
2.8.0
|
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 ArActionDesired * | resolve (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 |
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.