#include <controllers_manager.h>

Public Member Functions | |
| bool | configureHook () |
| ControllersManager (const std::string &name) | |
| bool | startHook () |
| void | updateHook () |
| virtual | ~ControllersManager () |
Protected Attributes | |
| RTT::Property< std::string > | default_controller_prop_ |
| RTT::Property< int > | number_of_controllers_prop_ |
Private Types | |
| typedef boost::shared_ptr < const oro_controllers_manager::SwitchControllerGoal > | Goal |
| typedef JTAS::GoalHandle | GoalHandle |
| typedef actionlib::ActionServer < oro_controllers_manager::SwitchControllerAction > | JTAS |
Private Member Functions | |
| void | cancelCB (GoalHandle gh) |
| void | goalCB (GoalHandle gh) |
Private Attributes | |
| int | active_controller_ |
| GoalHandle | activeGoal |
| actionlib::ActionServer < oro_controllers_manager::SwitchControllerAction > | as |
| std::vector< boost::shared_ptr < RTT::InputPort< bool > > > | controllers_busy_port_ |
| std::vector< boost::shared_ptr < RTT::OutputPort< bool > > > | controllers_enable_port_ |
| std::vector< std::string > | controllers_names_ |
| bool | goal_active |
| int | next_controller_ |
| unsigned int | number_of_controllers_ |
Definition at line 54 of file controllers_manager.h.
typedef boost::shared_ptr<const oro_controllers_manager::SwitchControllerGoal> ControllersManager::Goal [private] |
Definition at line 59 of file controllers_manager.h.
typedef JTAS::GoalHandle ControllersManager::GoalHandle [private] |
Definition at line 58 of file controllers_manager.h.
typedef actionlib::ActionServer<oro_controllers_manager::SwitchControllerAction> ControllersManager::JTAS [private] |
Definition at line 57 of file controllers_manager.h.
| ControllersManager::ControllersManager | ( | const std::string & | name | ) |
Definition at line 42 of file controllers_manager.cpp.
| ControllersManager::~ControllersManager | ( | ) | [virtual] |
Definition at line 51 of file controllers_manager.cpp.
| void ControllersManager::cancelCB | ( | GoalHandle | gh | ) | [private] |
Definition at line 173 of file controllers_manager.cpp.
| bool ControllersManager::configureHook | ( | ) | [virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 56 of file controllers_manager.cpp.
| void ControllersManager::goalCB | ( | GoalHandle | gh | ) | [private] |
Definition at line 147 of file controllers_manager.cpp.
| bool ControllersManager::startHook | ( | ) | [virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 81 of file controllers_manager.cpp.
| void ControllersManager::updateHook | ( | ) | [virtual] |
Reimplemented from RTT::base::TaskCore.
Definition at line 112 of file controllers_manager.cpp.
int ControllersManager::active_controller_ [private] |
Definition at line 80 of file controllers_manager.h.
GoalHandle ControllersManager::activeGoal [private] |
Definition at line 77 of file controllers_manager.h.
actionlib::ActionServer<oro_controllers_manager::SwitchControllerAction> ControllersManager::as [private] |
Definition at line 75 of file controllers_manager.h.
std::vector<boost::shared_ptr<RTT::InputPort<bool> > > ControllersManager::controllers_busy_port_ [private] |
Definition at line 84 of file controllers_manager.h.
std::vector<boost::shared_ptr<RTT::OutputPort<bool> > > ControllersManager::controllers_enable_port_ [private] |
Definition at line 83 of file controllers_manager.h.
std::vector<std::string> ControllersManager::controllers_names_ [private] |
Definition at line 82 of file controllers_manager.h.
RTT::Property<std::string> ControllersManager::default_controller_prop_ [protected] |
Definition at line 69 of file controllers_manager.h.
bool ControllersManager::goal_active [private] |
Definition at line 76 of file controllers_manager.h.
int ControllersManager::next_controller_ [private] |
Definition at line 81 of file controllers_manager.h.
unsigned int ControllersManager::number_of_controllers_ [private] |
Definition at line 79 of file controllers_manager.h.
RTT::Property<int> ControllersManager::number_of_controllers_prop_ [protected] |
Definition at line 68 of file controllers_manager.h.