opspace::Skill Class Reference

#include <Skill.hpp>

Inheritance diagram for opspace::Skill:

Inheritance graph
[legend]
Collaboration diagram for opspace::Skill:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< Task * > task_table_t

Public Member Functions

virtual ~Skill ()
virtual Status update (Model const &model)=0
virtual task_table_t const * getTaskTable ()=0
virtual Status init (Model const &model)
virtual Status checkJStarSV (Task const *task, Vector const &sv)
std::string const & getName () const
boost::shared_ptr< TaskSlotAPIlookupSlot (std::string const &name)
virtual void dump (std::ostream &os, std::string const &title, std::string const &prefix) const
virtual void dbg (std::ostream &os, std::string const &title, std::string const &prefix) const

Protected Member Functions

 Skill (std::string const &name)
template<typename task_subtype>
boost::shared_ptr< TaskSlotAPIdeclareSlot (std::string const &name, task_subtype **slot=0, task_slot_flags_t flags=TASK_SLOT_DEFAULT)

Protected Attributes

std::string const name_


Detailed Description

Definition at line 99 of file Skill.hpp.


Member Typedef Documentation

typedef std::vector<Task *> opspace::Skill::task_table_t

Definition at line 103 of file Skill.hpp.


Constructor & Destructor Documentation

opspace::Skill::~Skill (  )  [virtual]

Definition at line 43 of file Skill.cpp.

opspace::Skill::Skill ( std::string const &  name  )  [protected]

Definition at line 36 of file Skill.cpp.


Member Function Documentation

virtual Status opspace::Skill::update ( Model const &  model  )  [pure virtual]

Implemented in opspace::GenericSkill, opspace::TaskPostureSkill, and opspace::TaskPostureTrjSkill.

Referenced by opspace::ClassicTaskPostureController::computeCommand().

virtual task_table_t const* opspace::Skill::getTaskTable (  )  [pure virtual]

Implemented in opspace::GenericSkill, opspace::TaskPostureSkill, and opspace::TaskPostureTrjSkill.

Referenced by opspace::ClassicTaskPostureController::computeCommand().

Status opspace::Skill::init ( Model const &  model  )  [virtual]

Reimplemented in opspace::GenericSkill, opspace::TaskPostureSkill, and opspace::TaskPostureTrjSkill.

Definition at line 49 of file Skill.cpp.

Referenced by opspace::TaskPostureTrjSkill::init(), opspace::TaskPostureSkill::init(), and opspace::GenericSkill::init().

virtual Status opspace::Skill::checkJStarSV ( Task const *  task,
Vector const &  sv 
) [inline, virtual]

Reimplemented in opspace::TaskPostureSkill, and opspace::TaskPostureTrjSkill.

Definition at line 111 of file Skill.hpp.

std::string const& opspace::Skill::getName (  )  const [inline]

Reimplemented from opspace::ParameterReflection.

Definition at line 113 of file Skill.hpp.

References name_.

boost::shared_ptr< TaskSlotAPI > opspace::Skill::lookupSlot ( std::string const &  name  ) 

Definition at line 92 of file Skill.cpp.

Referenced by opspace::operator>>().

void opspace::Skill::dump ( std::ostream &  os,
std::string const &  title,
std::string const &  prefix 
) const [virtual]

Reimplemented from opspace::ParameterReflection.

Definition at line 104 of file Skill.cpp.

References opspace::ParameterReflection::dump(), and opspace::ParameterReflection::instance_name_.

Referenced by opspace::operator>>().

Here is the call graph for this function:

void opspace::Skill::dbg ( std::ostream &  os,
std::string const &  title,
std::string const &  prefix 
) const [virtual]

Definition at line 134 of file Skill.cpp.

References opspace::ParameterReflection::dump(), and opspace::ParameterReflection::instance_name_.

Here is the call graph for this function:

template<typename task_subtype>
boost::shared_ptr<TaskSlotAPI> opspace::Skill::declareSlot ( std::string const &  name,
task_subtype **  slot = 0,
task_slot_flags_t  flags = TASK_SLOT_DEFAULT 
) [inline, protected]

Definition at line 130 of file Skill.hpp.

Referenced by opspace::TaskPostureSkill::TaskPostureSkill(), and opspace::TaskPostureTrjSkill::TaskPostureTrjSkill().


Member Data Documentation

std::string const opspace::Skill::name_ [protected]

Definition at line 140 of file Skill.hpp.

Referenced by getName().


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