#include <TaskManager.h>
Public Member Functions | |
void | addTask (TaskWithStatus *task) |
bool | allFinished () |
void | executeNextTask (int timeout, TaskWithStatus *task) |
void | publishStatus () |
TaskWithStatus * | selectNextTask () |
TaskManager () | |
TaskManager (ros::NodeHandle *) | |
void | updateStatusGui () |
Public Attributes | |
ros::ServiceClient | gui_client |
ros::NodeHandle * | nh |
bool | paused |
std::vector< TaskWithStatus > | tasks |
Private Attributes | |
bwi_msgs::ScavStatus | msg |
ros::Publisher | pub |
Definition at line 25 of file TaskManager.h.
TaskManager::TaskManager | ( | ) | [inline] |
Definition at line 29 of file TaskManager.h.
Definition at line 10 of file TaskManager.cpp.
void TaskManager::addTask | ( | TaskWithStatus * | task | ) |
Definition at line 19 of file TaskManager.cpp.
bool TaskManager::allFinished | ( | ) |
Definition at line 80 of file TaskManager.cpp.
void TaskManager::executeNextTask | ( | int | timeout, |
TaskWithStatus * | task | ||
) |
Definition at line 41 of file TaskManager.cpp.
void TaskManager::publishStatus | ( | ) |
Definition at line 88 of file TaskManager.cpp.
Definition at line 28 of file TaskManager.cpp.
void TaskManager::updateStatusGui | ( | ) |
Definition at line 52 of file TaskManager.cpp.
Definition at line 34 of file TaskManager.h.
bwi_msgs::ScavStatus TaskManager::msg [private] |
Definition at line 54 of file TaskManager.h.
Definition at line 32 of file TaskManager.h.
bool TaskManager::paused |
Definition at line 50 of file TaskManager.h.
ros::Publisher TaskManager::pub [private] |
Definition at line 53 of file TaskManager.h.
std::vector<TaskWithStatus> TaskManager::tasks |
Definition at line 36 of file TaskManager.h.