#include <Parameter.hpp>
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_ |
Definition at line 105 of file Parameter.hpp.
opspace::IntegerParameter::IntegerParameter | ( | std::string const & | name, | |
parameter_flags_t | flags, | |||
ParameterReflection const * | checker, | |||
int * | instance | |||
) |
Definition at line 143 of file Parameter.cpp.
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.
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_.
int* opspace::IntegerParameter::integer_ [protected] |