opspace::VectorParameter Class Reference

Implementation for vector parameters: a vector of double values. More...

#include <Parameter.hpp>

Inheritance diagram for opspace::VectorParameter:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 VectorParameter (std::string const &name, parameter_flags_t flags, ParameterReflection const *checker, Vector *vector)
virtual Vector const * getVector () const
virtual Status set (Vector const &vector)
virtual void dump (std::ostream &os, std::string const &prefix) const

Protected Attributes

Vector * vector_


Detailed Description

Implementation for vector parameters: a vector of double values.

Definition at line 150 of file Parameter.hpp.


Constructor & Destructor Documentation

opspace::VectorParameter::VectorParameter ( std::string const &  name,
parameter_flags_t  flags,
ParameterReflection const *  checker,
Vector *  vector 
)

Definition at line 257 of file Parameter.cpp.


Member Function Documentation

virtual Vector const* opspace::VectorParameter::getVector (  )  const [inline, virtual]

Reimplemented from opspace::Parameter.

Definition at line 156 of file Parameter.hpp.

References vector_.

Status opspace::VectorParameter::set ( Vector const &  vector  )  [virtual]

Reimplemented from opspace::Parameter.

Definition at line 268 of file Parameter.cpp.

References opspace::ParameterReflection::check(), opspace::Parameter::checker_, jspace::Status::errstr, opspace::Parameter::flags_, jspace::Status::ok, opspace::PARAMETER_FLAG_READONLY, and vector_.

Here is the call graph for this function:

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

Reimplemented from opspace::Parameter.

Definition at line 288 of file Parameter.cpp.

References opspace::Parameter::name_, jspace::pretty_string(), and vector_.

Here is the call graph for this function:


Member Data Documentation

Vector* opspace::VectorParameter::vector_ [protected]

Definition at line 160 of file Parameter.hpp.

Referenced by dump(), getVector(), and set().


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