Inheritance diagram for RS::SkillWithArguments:


Public Member Functions | |
| SkillWithArguments () | |
| Default constructor, it is ok since the class is abstract all subclasses should make sure to get default values for the arguments. | |
| virtual | ~SkillWithArguments () |
| Destructor cleaning up after the skill. | |
| virtual void | setArguments (const std::vector< Float > &arguments)=0 throw (TooFewArgumentsException) |
| Used to set the skill's arguments in a generic way. | |
| 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 std::vector< Float > &arguments) |
| This method is used to first set the arguments 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. | |
Definition at line 66 of file SkillWithArguments.h.
|
|
Used to set the skill's arguments in a generic way. This method must be overridden by subclasses. It should transform the generic vector of floats to the actual arguments. It will throw TooFewArgumentsException if not enough arguments are given. Implemented in RS::SkillWithCommand, RS::SkillWithDirection, RS::SkillWithDirectionAndCommand, RS::SkillWithPosition, RS::SkillWithPositionAndCommand, RS::SkillWithSpeed, and RS::SkillWithVector. Referenced by generatePlan(). |
|
|
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::Skill. Implemented in RS::SkillWithCommand, RS::SkillWithDirection, RS::SkillWithDirectionAndCommand, RS::SkillWithPosition, RS::SkillWithPositionAndCommand, RS::SkillWithSpeed, RS::SkillWithVector, RS::AccelerateBallToVelocity, RS::DashToPoint, RS::KickBallCloseToBody, RS::TurnBackToPoint, RS::TurnBodyToAbsoluteDirection, RS::TurnBodyToPoint, RS::TurnNeckToAbsoluteDirection, RS::TurnNeckToBall, and RS::TurnNeckToPoint. Referenced by generatePlan(). |
|
|
This method is used to first set the arguments 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 setArguments and generatePlan(), so it should not be overriden unless it should made unavailable. Definition at line 51 of file SkillWithArguments.icc. References generatePlan(), and setArguments(). |
|
|
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::Skill. Implemented in RS::SkillWithCommand, RS::SkillWithDirection, RS::SkillWithDirectionAndCommand, RS::SkillWithPosition, RS::SkillWithPositionAndCommand, RS::SkillWithSpeed, RS::SkillWithVector, RS::AccelerateBallToVelocity, RS::DashToPoint, RS::KickBallCloseToBody, RS::TurnBackToPoint, RS::TurnBodyToAbsoluteDirection, RS::TurnBodyToPoint, RS::TurnNeckToAbsoluteDirection, RS::TurnNeckToBall, and 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::Skill. Implemented in RS::SkillWithCommand, RS::SkillWithDirection, RS::SkillWithDirectionAndCommand, RS::SkillWithPosition, RS::SkillWithPositionAndCommand, RS::SkillWithSpeed, RS::SkillWithVector, RS::AccelerateBallToVelocity, RS::DashToPoint, RS::KickBallCloseToBody, RS::TurnBackToPoint, RS::TurnBodyToAbsoluteDirection, RS::TurnBodyToPoint, RS::TurnNeckToAbsoluteDirection, RS::TurnNeckToBall, and RS::TurnNeckToPoint. |
1.3-rc3