opspace::TaskSlot< task_subtype > Class Template Reference

#include <Skill.hpp>

Inheritance diagram for opspace::TaskSlot< task_subtype >:

Inheritance graph
[legend]
Collaboration diagram for opspace::TaskSlot< task_subtype >:

Collaboration graph
[legend]

List of all members.

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< TaskgetInstance (size_t index)

Protected Attributes

task_subtype ** slot_
std::vector< boost::shared_ptr
< Task > > 
instances_


Detailed Description

template<typename task_subtype>
class opspace::TaskSlot< task_subtype >

Definition at line 65 of file Skill.hpp.


Constructor & Destructor Documentation

template<typename task_subtype>
opspace::TaskSlot< task_subtype >::TaskSlot ( std::string const &  name,
task_subtype **  slot,
task_slot_flags_t  flags 
) [inline]

Definition at line 69 of file Skill.hpp.


Member Function Documentation

template<typename task_subtype>
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_.

template<typename task_subtype>
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_.

template<typename task_subtype>
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_.


Member Data Documentation

template<typename task_subtype>
task_subtype** opspace::TaskSlot< task_subtype >::slot_ [protected]

Definition at line 94 of file Skill.hpp.

Referenced by opspace::TaskSlot< task_subtype >::assign().

template<typename task_subtype>
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().


The documentation for this class was generated from the following file:
Generated on Fri Aug 26 01:34:13 2011 for Stanford Whole-Body Control Framework by  doxygen 1.5.4