#include <Skill.hpp>
Public Member Functions | |
TaskSlot (std::string const &name, task_subtype **slot, task_slot_flags_t flags) | |
virtual Status | assign (boost::shared_ptr< Task > instance) |
virtual size_t | getNInstances () const |
virtual boost::shared_ptr< Task > | getInstance (size_t index) |
Protected Attributes | |
task_subtype ** | slot_ |
std::vector< boost::shared_ptr < Task > > | instances_ |
Definition at line 65 of file Skill.hpp.
opspace::TaskSlot< task_subtype >::TaskSlot | ( | std::string const & | name, | |
task_subtype ** | slot, | |||
task_slot_flags_t | flags | |||
) | [inline] |
virtual Status opspace::TaskSlot< task_subtype >::assign | ( | boost::shared_ptr< Task > | instance | ) | [inline, virtual] |
Reimplemented from opspace::TaskSlotAPI.
Definition at line 74 of file Skill.hpp.
References opspace::TaskSlot< task_subtype >::instances_, and opspace::TaskSlot< task_subtype >::slot_.
virtual size_t opspace::TaskSlot< task_subtype >::getNInstances | ( | ) | const [inline, virtual] |
Implements opspace::TaskSlotAPI.
Definition at line 90 of file Skill.hpp.
References opspace::TaskSlot< task_subtype >::instances_.
virtual boost::shared_ptr<Task> opspace::TaskSlot< task_subtype >::getInstance | ( | size_t | index | ) | [inline, virtual] |
Implements opspace::TaskSlotAPI.
Definition at line 91 of file Skill.hpp.
References opspace::TaskSlot< task_subtype >::instances_.
task_subtype** opspace::TaskSlot< task_subtype >::slot_ [protected] |
std::vector<boost::shared_ptr<Task> > opspace::TaskSlot< task_subtype >::instances_ [protected] |
Definition at line 95 of file Skill.hpp.
Referenced by opspace::TaskSlot< task_subtype >::assign(), opspace::TaskSlot< task_subtype >::getInstance(), and opspace::TaskSlot< task_subtype >::getNInstances().