Public Types | Public Member Functions | Private Member Functions | Private Attributes
TaskStackController< PRIO > Class Template Reference

#include <task_stack_controller.h>

List of all members.

Public Types

typedef std::vector< Task
< PRIO > >::const_iterator 
TypedConstIter_t
typedef std::vector< Task
< PRIO > >::iterator 
TypedIter_t

Public Member Functions

void activateAllTasks ()
void activateHighestPrioTask ()
void activateTask (std::string task_id)
void addTask (Task< PRIO > t)
std::vector< Task< PRIO >
>::iterator 
beginTaskIter ()
void clearAllTasks ()
int countActiveTasks () const
void deactivateAllTasks ()
void deactivateTask (typename std::vector< Task< PRIO > >::iterator it)
void deactivateTask (std::string task_id)
ros::Time getLastModificationTime () const
std::vector< Task< PRIO >
>::iterator 
getTasksBegin ()
std::vector< Task< PRIO >
>::iterator 
getTasksEnd ()
std::vector< Task< PRIO >
>::iterator 
nextActiveTask ()
 TaskStackController ()
 ~TaskStackController ()

Private Member Functions

void updateModificationTime (bool change)

Private Attributes

TypedIter_t active_task_iter_
ros::Time modification_time_
std::vector< Task< PRIO > > tasks_

Detailed Description

template<typename PRIO>
class TaskStackController< PRIO >

Definition at line 85 of file task_stack_controller.h.


Member Typedef Documentation

template<typename PRIO>
typedef std::vector<Task<PRIO> >::const_iterator TaskStackController< PRIO >::TypedConstIter_t

Definition at line 89 of file task_stack_controller.h.

template<typename PRIO>
typedef std::vector<Task<PRIO> >::iterator TaskStackController< PRIO >::TypedIter_t

Definition at line 88 of file task_stack_controller.h.


Constructor & Destructor Documentation

template<typename PRIO>
TaskStackController< PRIO >::~TaskStackController ( ) [inline]

Definition at line 91 of file task_stack_controller.h.

template<typename PRIO>
TaskStackController< PRIO >::TaskStackController ( ) [inline]

Definition at line 96 of file task_stack_controller.h.


Member Function Documentation

template<typename PRIO >
void TaskStackController< PRIO >::activateAllTasks ( )

Definition at line 190 of file task_stack_controller.h.

template<typename PRIO >
void TaskStackController< PRIO >::activateHighestPrioTask ( )

Definition at line 207 of file task_stack_controller.h.

template<typename PRIO >
void TaskStackController< PRIO >::activateTask ( std::string  task_id)

Definition at line 232 of file task_stack_controller.h.

template<typename PRIO>
void TaskStackController< PRIO >::addTask ( Task< PRIO >  t)

Insert new task sorted.

Definition at line 149 of file task_stack_controller.h.

template<typename PRIO >
std::vector< Task< PRIO > >::iterator TaskStackController< PRIO >::beginTaskIter ( )

Definition at line 306 of file task_stack_controller.h.

template<typename PRIO >
void TaskStackController< PRIO >::clearAllTasks ( )

Definition at line 313 of file task_stack_controller.h.

template<typename PRIO >
int TaskStackController< PRIO >::countActiveTasks ( ) const

Definition at line 131 of file task_stack_controller.h.

template<typename PRIO >
void TaskStackController< PRIO >::deactivateAllTasks ( )

Definition at line 270 of file task_stack_controller.h.

template<typename PRIO>
void TaskStackController< PRIO >::deactivateTask ( typename std::vector< Task< PRIO > >::iterator  it)

Definition at line 246 of file task_stack_controller.h.

template<typename PRIO>
void TaskStackController< PRIO >::deactivateTask ( std::string  task_id)

Definition at line 256 of file task_stack_controller.h.

template<typename PRIO >
ros::Time TaskStackController< PRIO >::getLastModificationTime ( ) const

Definition at line 321 of file task_stack_controller.h.

template<typename PRIO >
std::vector< Task< PRIO > >::iterator TaskStackController< PRIO >::getTasksBegin ( )

Definition at line 220 of file task_stack_controller.h.

template<typename PRIO >
std::vector< Task< PRIO > >::iterator TaskStackController< PRIO >::getTasksEnd ( )

Definition at line 226 of file task_stack_controller.h.

template<typename PRIO >
std::vector< Task< PRIO > >::iterator TaskStackController< PRIO >::nextActiveTask ( )

Definition at line 287 of file task_stack_controller.h.

template<typename PRIO >
void TaskStackController< PRIO >::updateModificationTime ( bool  change) [private]

Definition at line 327 of file task_stack_controller.h.


Member Data Documentation

template<typename PRIO>
TypedIter_t TaskStackController< PRIO >::active_task_iter_ [private]

Definition at line 126 of file task_stack_controller.h.

template<typename PRIO>
ros::Time TaskStackController< PRIO >::modification_time_ [private]

Definition at line 127 of file task_stack_controller.h.

template<typename PRIO>
std::vector<Task<PRIO> > TaskStackController< PRIO >::tasks_ [private]

Definition at line 125 of file task_stack_controller.h.


The documentation for this class was generated from the following file:


cob_twist_controller
Author(s): Felix Messmer , Marco Bezzon , Christoph Mark , Francisco Moreno
autogenerated on Thu Jun 6 2019 21:19:26