opspace::IntegerParameter Class Reference

Implementation for integer parameters: a single int value. More...

#include <Parameter.hpp>

Inheritance diagram for opspace::IntegerParameter:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 IntegerParameter (std::string const &name, parameter_flags_t flags, ParameterReflection const *checker, int *instance)
virtual int const * getInteger () const
virtual Status set (int integer)
virtual void dump (std::ostream &os, std::string const &prefix) const

Protected Attributes

int * integer_


Detailed Description

Implementation for integer parameters: a single int value.

Definition at line 105 of file Parameter.hpp.


Constructor & Destructor Documentation

opspace::IntegerParameter::IntegerParameter ( std::string const &  name,
parameter_flags_t  flags,
ParameterReflection const *  checker,
int *  instance 
)

Definition at line 143 of file Parameter.cpp.


Member Function Documentation

virtual int const* opspace::IntegerParameter::getInteger (  )  const [inline, virtual]

Reimplemented from opspace::Parameter.

Definition at line 111 of file Parameter.hpp.

References integer_.

Status opspace::IntegerParameter::set ( int  integer  )  [virtual]

Reimplemented from opspace::Parameter.

Definition at line 154 of file Parameter.cpp.

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

Here is the call graph for this function:

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

Reimplemented from opspace::Parameter.

Definition at line 174 of file Parameter.cpp.

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


Member Data Documentation

int* opspace::IntegerParameter::integer_ [protected]

Definition at line 115 of file Parameter.hpp.

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


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