#include <param_interface.h>
Signals | |
void | added (const QString &full_name) |
void | cleared (const QString &full_name) |
void | defaultValueChanged (const QString &full_name, const QVariant &type) |
void | nameChanged (const QString &previous_full_name, const QString &name) |
void | removed (const QString &full_name) |
void | toolTipChanged (const QString &full_name, const QString &type) |
void | typeChanged (const QString &full_name, const QMetaType::Type &type) |
void | valueChanged (const QString &full_name, const QVariant &value) |
Public Member Functions | |
virtual void | addParam (ParamInterface *param) |
virtual void | clearParams () |
virtual ParamInterface * | clone () const =0 |
virtual bool | contains (const QString &name) const |
virtual size_t | count () const |
QString | getFullName () const |
QString | getGroupName () const |
QString | getName () const |
virtual ParamInterface * | getParam (const QString &full_name) const |
virtual ParamInterface * | getParentParam () const |
virtual bool | isArray () const |
virtual bool | isEmpty () const |
virtual bool | isParam () const |
virtual bool | isParams () const |
virtual void | load (QSettings &settings) |
virtual ParamInterface & | operator= (const ParamInterface &config) |
virtual void | read (QDataStream &stream) |
virtual void | removeParam (const QString &full_name) |
virtual void | reset () |
virtual void | save (QSettings &settings) const |
virtual void | setName (const QString &name) |
virtual QString | toYaml (const QString &prefix="") const |
virtual QString | validate () const |
virtual void | write (QDataStream &stream) const |
virtual | ~ParamInterface () |
Protected Slots | |
void | paramDefaultValueChanged (const QString &full_name, const QVariant &default_value) |
void | paramToolTipChanged (const QString &full_name, const QString &tool_tip) |
void | paramTypeChanged (const QString &full_name, const QMetaType::Type &type) |
void | paramValueChanged (const QString &full_name, const QVariant &value) |
Protected Member Functions | |
ParamInterface (const QString &group_name, Params *parent) | |
Protected Attributes | |
const QString | group_name_ |
QString | name_ |
Definition at line 12 of file param_interface.h.
rqt_mrta::config::ParamInterface::~ParamInterface | ( | ) | [virtual] |
Definition at line 14 of file param_interface.cpp.
rqt_mrta::config::ParamInterface::ParamInterface | ( | const QString & | group_name, |
Params * | parent | ||
) | [protected] |
Definition at line 9 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::added | ( | const QString & | full_name | ) | [signal] |
void rqt_mrta::config::ParamInterface::addParam | ( | ParamInterface * | param | ) | [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 50 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::cleared | ( | const QString & | full_name | ) | [signal] |
void rqt_mrta::config::ParamInterface::clearParams | ( | ) | [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 60 of file param_interface.cpp.
virtual ParamInterface* rqt_mrta::config::ParamInterface::clone | ( | ) | const [pure virtual] |
Implemented in rqt_mrta::config::Params, rqt_mrta::config::Param, and rqt_mrta::config::ParamsArray.
bool rqt_mrta::config::ParamInterface::contains | ( | const QString & | name | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 62 of file param_interface.cpp.
size_t rqt_mrta::config::ParamInterface::count | ( | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 64 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::defaultValueChanged | ( | const QString & | full_name, |
const QVariant & | type | ||
) | [signal] |
Reimplemented in rqt_mrta::config::Param.
QString rqt_mrta::config::ParamInterface::getFullName | ( | ) | const |
Definition at line 23 of file param_interface.cpp.
QString rqt_mrta::config::ParamInterface::getGroupName | ( | ) | const |
Definition at line 19 of file param_interface.cpp.
QString rqt_mrta::config::ParamInterface::getName | ( | ) | const |
Definition at line 21 of file param_interface.cpp.
ParamInterface * rqt_mrta::config::ParamInterface::getParam | ( | const QString & | full_name | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 45 of file param_interface.cpp.
ParamInterface * rqt_mrta::config::ParamInterface::getParentParam | ( | ) | const [virtual] |
Reimplemented in rqt_mrta::config::ParamsArray.
Definition at line 29 of file param_interface.cpp.
bool rqt_mrta::config::ParamInterface::isArray | ( | ) | const [virtual] |
Reimplemented in rqt_mrta::config::ParamsArray.
Definition at line 85 of file param_interface.cpp.
bool rqt_mrta::config::ParamInterface::isEmpty | ( | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 66 of file param_interface.cpp.
bool rqt_mrta::config::ParamInterface::isParam | ( | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Param.
Definition at line 81 of file param_interface.cpp.
bool rqt_mrta::config::ParamInterface::isParams | ( | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 83 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::load | ( | QSettings & | settings | ) | [virtual] |
Implements utilities::AbstractConfig.
Reimplemented in rqt_mrta::config::Params, and rqt_mrta::config::Param.
Definition at line 92 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::nameChanged | ( | const QString & | previous_full_name, |
const QString & | name | ||
) | [signal] |
ParamInterface & rqt_mrta::config::ParamInterface::operator= | ( | const ParamInterface & | config | ) | [virtual] |
Definition at line 108 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::paramDefaultValueChanged | ( | const QString & | full_name, |
const QVariant & | default_value | ||
) | [protected, slot] |
Definition at line 133 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::paramToolTipChanged | ( | const QString & | full_name, |
const QString & | tool_tip | ||
) | [protected, slot] |
Definition at line 140 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::paramTypeChanged | ( | const QString & | full_name, |
const QMetaType::Type & | type | ||
) | [protected, slot] |
Definition at line 119 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::paramValueChanged | ( | const QString & | full_name, |
const QVariant & | value | ||
) | [protected, slot] |
Definition at line 126 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::read | ( | QDataStream & | stream | ) | [virtual] |
Implements utilities::AbstractConfig.
Reimplemented in rqt_mrta::config::Params, and rqt_mrta::config::Param.
Definition at line 101 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::removed | ( | const QString & | full_name | ) | [signal] |
void rqt_mrta::config::ParamInterface::removeParam | ( | const QString & | full_name | ) | [virtual] |
Reimplemented in rqt_mrta::config::Params.
Definition at line 55 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::reset | ( | ) | [virtual] |
Implements utilities::AbstractConfig.
Reimplemented in rqt_mrta::config::Params, and rqt_mrta::config::Param.
Definition at line 97 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::save | ( | QSettings & | settings | ) | const [virtual] |
Implements utilities::AbstractConfig.
Reimplemented in rqt_mrta::config::Params, and rqt_mrta::config::Param.
Definition at line 87 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::setName | ( | const QString & | name | ) | [virtual] |
Definition at line 34 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::toolTipChanged | ( | const QString & | full_name, |
const QString & | type | ||
) | [signal] |
Reimplemented in rqt_mrta::config::Param.
QString rqt_mrta::config::ParamInterface::toYaml | ( | const QString & | prefix = "" | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Params, and rqt_mrta::config::Param.
Definition at line 114 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::typeChanged | ( | const QString & | full_name, |
const QMetaType::Type & | type | ||
) | [signal] |
Reimplemented in rqt_mrta::config::Param.
QString rqt_mrta::config::ParamInterface::validate | ( | ) | const [virtual] |
Reimplemented in rqt_mrta::config::Params, and rqt_mrta::config::Param.
Definition at line 68 of file param_interface.cpp.
void rqt_mrta::config::ParamInterface::valueChanged | ( | const QString & | full_name, |
const QVariant & | value | ||
) | [signal] |
Reimplemented in rqt_mrta::config::Param.
void rqt_mrta::config::ParamInterface::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements utilities::AbstractConfig.
Reimplemented in rqt_mrta::config::Params, and rqt_mrta::config::Param.
Definition at line 99 of file param_interface.cpp.
const QString rqt_mrta::config::ParamInterface::group_name_ [protected] |
Definition at line 55 of file param_interface.h.
QString rqt_mrta::config::ParamInterface::name_ [protected] |
Definition at line 54 of file param_interface.h.