Inheritance diagram for RS::SkillWithCommand:


Public Member Functions | |
| SkillWithCommand (const ServerCommand *const cmd) | |
| Constructor taking the default argument for the command used as arguments to the skill. | |
| virtual | ~SkillWithCommand () |
| 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 (const ServerCommand *const 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 ServerCommand *const 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 AgentStep | generateStep ()=0 |
| This method is used to generate the next step to execute to come closer to the goal of the skill. | |
| virtual AgentStep | generateStep (const ServerCommand *const cmd) |
| This method is the same as first calling setCommand and then generateStep. | |
| 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 72 of file SkillWithCommand.h.
|
|
Used to set the skills's arguments in a generic way. The command can not be set through this method. Implements RS::SkillWithArguments. Definition at line 58 of file SkillWithCommand.icc. |
|
|
Return the skill's command argument. DO NOT DELETE it's still owned by the skill! Definition at line 72 of file SkillWithCommand.icc. References command. |
|
|
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::SkillWithArguments. Implemented in RS::TurnNeckToBall. 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 setCommand and generatePlan(), so it should not be overridden unless it should made unavailable. Definition at line 78 of file SkillWithCommand.icc. References generatePlan(), and setCommand(). |
|
|
This method is the same as first calling setCommand and then generateStep. Should not be overridden unless it should be made unavailable. Definition at line 84 of file SkillWithCommand.icc. References generateStep(), and setCommand(). |
|
|
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::SkillWithArguments. Implemented in RS::TurnNeckToBall. |
|
|
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::SkillWithArguments. Implemented in RS::TurnNeckToBall. |
1.3-rc3