opspace::MatrixParameter Class Reference

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

#include <Parameter.hpp>

Inheritance diagram for opspace::MatrixParameter:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MatrixParameter (std::string const &name, parameter_flags_t flags, ParameterReflection const *checker, Matrix *matrix)
virtual Matrix const * getMatrix () const
virtual Status set (Matrix const &matrix)
virtual void dump (std::ostream &os, std::string const &prefix) const

Protected Attributes

Matrix * matrix_


Detailed Description

Implementation for matrix parameters: a matrix of double values.

Definition at line 165 of file Parameter.hpp.


Constructor & Destructor Documentation

opspace::MatrixParameter::MatrixParameter ( std::string const &  name,
parameter_flags_t  flags,
ParameterReflection const *  checker,
Matrix *  matrix 
)

Definition at line 296 of file Parameter.cpp.


Member Function Documentation

virtual Matrix const* opspace::MatrixParameter::getMatrix (  )  const [inline, virtual]

Reimplemented from opspace::Parameter.

Definition at line 171 of file Parameter.hpp.

References matrix_.

Status opspace::MatrixParameter::set ( Matrix const &  matrix  )  [virtual]

Reimplemented from opspace::Parameter.

Definition at line 307 of file Parameter.cpp.

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

Here is the call graph for this function:

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

Reimplemented from opspace::Parameter.

Definition at line 327 of file Parameter.cpp.

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

Here is the call graph for this function:


Member Data Documentation

Matrix* opspace::MatrixParameter::matrix_ [protected]

Definition at line 175 of file Parameter.hpp.

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


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