Inheritance diagram for RS::SkillWithPositionAndCommand:


Public Member Functions | |
| SkillWithPositionAndCommand (const Point &pos, ServerCommand *cmd) | |
| Constructor taking the default argument for the position and the command used as arguments to the skill. | |
| virtual | ~SkillWithPositionAndCommand () |
| Destructor cleaning up after the skill. | |
| virtual void | setArguments (const std::vector< Float > &arguments) throw (TooFewArgumentsException) |
| Used to set the skills's arguments in a generic way. | |
| virtual void | setCommand (ServerCommand *cmd) |
| Used to set the skill's command argument to cmd. | |
| virtual ServerCommand * | getCommand () const |
| Return the skill's command argument. | |
| virtual Plan | generatePlan ()=0 |
| This method is used to generate a plan for how the goal of the skill should be obtained by the agent. | |
| virtual Plan | generatePlan (const Point &pos, ServerCommand *cmd) |
| This method is used to first set the argument of the skill and then generate a plan for how the goal of the skill should be obtained by the agent. | |
| virtual FuzzyBool | persistent ()=0 |
| This method should return a FuzzyBool telling the caller if the skill wants to be called again. | |
| virtual FuzzyBool | applicable ()=0 |
| This method should implement the precondition specified in the description of the skill. | |
Protected Attributes | |
| ServerCommand * | command |
| The command argument. | |
Definition at line 66 of file SkillWithPositionAndCommand.h.
|
|
Used to set the skills's arguments in a generic way. The first value in the vector will be interpreted as the X-coordinate and the second value as the Y-coordinate. The command can not be set through this method. Reimplemented from RS::SkillWithPosition. Definition at line 52 of file SkillWithPositionAndCommand.icc. References RS_THROW. |
|
|
This method is used to generate a plan for how the goal of the skill should be obtained by the agent. Abstract since no concrete instances of this class should be created. Implements RS::SkillWithPosition. Implemented in RS::TurnNeckToPoint. Referenced by generatePlan(). |
|
||||||||||||
|
This method is used to first set the argument of the skill and then generate a plan for how the goal of the skill should be obtained by the agent. It uses the methods setPosition and generatePlan(), so it should not be overriden unless it should made unavailable. Definition at line 81 of file SkillWithPositionAndCommand.icc. References generatePlan(), setCommand(), and RS::SkillWithPosition::setPosition(). |
|
|
This method should return a FuzzyBool telling the caller if the skill wants to be called again. Abstract since no concrete instances of this class should be created. Implements RS::SkillWithPosition. Implemented in RS::TurnNeckToPoint. |
|
|
This method should implement the precondition specified in the description of the skill. Abstract since no concrete instances of this class should be created. Implements RS::SkillWithPosition. Implemented in RS::TurnNeckToPoint. |
1.3-rc3