Aria  2.8.0
ArPriorityResolver Class Reference

(Default resolver), takes the action list and uses the priority to resolve More...

#include <ArPriorityResolver.h>

Inherits ArResolver.

Public Member Functions

 ArPriorityResolver ()
 Constructor.
 
virtual ArActionDesiredresolve (ArResolver::ActionMap *actions, ArRobot *robot, bool logActions=false)
 
virtual ~ArPriorityResolver ()
 Destructor.
 
- Public Member Functions inherited from ArResolver
 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 ~ArResolver ()
 Desturctor.
 

Protected Attributes

ArActionDesired myActionDesired
 
- Protected Attributes inherited from ArResolver
std::string myDescription
 
std::string myName
 

Additional Inherited Members

- Public Types inherited from ArResolver
typedef std::multimap< int, ArAction * > ActionMap
 Constructor.
 

Detailed Description

(Default resolver), takes the action list and uses the priority to resolve

This is the default resolver for ArRobot, meaning if you don't do a non-normal init on the robot, or a setResolver, you'll have one these.

Member Function Documentation

◆ resolve()

ArActionDesired * ArPriorityResolver::resolve ( ArResolver::ActionMap actions,
ArRobot robot,
bool  logActions = false 
)
virtual

MPL jan 7 '12 moved this next code block up 'from here'

Implements ArResolver.


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