opspace::RealParameter Class Reference

Implementation for real parameters: a single double value. More...

#include <Parameter.hpp>

Inheritance diagram for opspace::RealParameter:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RealParameter (std::string const &name, parameter_flags_t flags, ParameterReflection const *checker, double *real)
virtual double const * getReal () const
virtual Status set (double real)
virtual void dump (std::ostream &os, std::string const &prefix) const

Protected Attributes

double * real_


Detailed Description

Implementation for real parameters: a single double value.

Definition at line 135 of file Parameter.hpp.


Constructor & Destructor Documentation

opspace::RealParameter::RealParameter ( std::string const &  name,
parameter_flags_t  flags,
ParameterReflection const *  checker,
double *  real 
)

Definition at line 219 of file Parameter.cpp.


Member Function Documentation

virtual double const* opspace::RealParameter::getReal (  )  const [inline, virtual]

Reimplemented from opspace::Parameter.

Definition at line 141 of file Parameter.hpp.

References real_.

Status opspace::RealParameter::set ( double  real  )  [virtual]

Reimplemented from opspace::Parameter.

Definition at line 230 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 real_.

Here is the call graph for this function:

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

Reimplemented from opspace::Parameter.

Definition at line 250 of file Parameter.cpp.

References opspace::Parameter::name_, and real_.


Member Data Documentation

double* opspace::RealParameter::real_ [protected]

Definition at line 145 of file Parameter.hpp.

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


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