Collaboration diagram for RS::ActuatorInterface:

Public Member Functions | |
| virtual void | init (Actuators *actuators) |
| Initialize the actuator interface. | |
| virtual bool | addToPlan (Command *command) |
| Add a command to the current step in the current plan. | |
| virtual bool | addToPlan (Step step) |
| Add a step to the current step in the current plan. | |
| virtual bool | addToPlan (AgentStep step) |
| Add a step to the current step in the current plan. | |
| virtual bool | replacePlan (const Plan &plan) |
| Tries to replace the current plan with a new plan. | |
| Step | getNextStep () const |
| Returns the next step in the plan. | |
| bool | empty () const |
Returns true iff the current plan is empty. | |
Protected Member Functions | |
| ActuatorInterface (const ActuatorInterface &) | |
| ActuatorInterface & | operator= (const ActuatorInterface &) |
Protected Attributes | |
| Actuators * | theActuators |
| Plan | currentPlan |
Definition at line 80 of file ActuatorInterface.h.
|
|
Add a command to the current step in the current plan. The ActuatorInterface will take control of the command so don't delete it locally. This is currently implemented as sending this command this step. Definition at line 78 of file ActuatorInterface.cc. References RS::Actuators::executeCommand(). Referenced by addToPlan(). |
|
|
Add a step to the current step in the current plan. This is currently implemented as sending all the commands in the step right away. Definition at line 99 of file ActuatorInterface.cc. References addToPlan(), RS::Command::clone(), RS::Step::empty(), RS::Step::getNextCommand(), and RS::Step::removeNextCommand(). |
|
|
Add a step to the current step in the current plan. This is currently implemented as sending all the commands in the step right away. Definition at line 110 of file ActuatorInterface.cc. References addToPlan(), RS::Command::clone(), RS::AgentStep::empty(), RS::AgentStep::getNextCommand(), and RS::AgentStep::removeNextCommand(). |
|
|
Tries to replace the current plan with a new plan. This is currently *not* implemented! Definition at line 72 of file ActuatorInterface.icc. |
1.3-rc3