#include <configs.h>
Signals | |
void | added (size_t index) |
void | cleared () |
void | configAdded (size_t index, const QString &full_name) |
void | configChanged (size_t index) |
void | configCleared (size_t index, const QString &full_name) |
void | configDefaultValueChanged (size_t index, const QString &name, const QVariant &default_value) |
void | configIdChanged (size_t index, const QString &config_id) |
void | configNameChanged (size_t index, const QString &previous_name, const QString &name) |
void | configRemoved (size_t index, const QString &full_name) |
void | configToolTipChanged (size_t index, const QString &name, const QString &tool_tip) |
void | configTypeChanged (size_t index, const QString &name, const QMetaType::Type &type) |
void | configValueChanged (size_t index, const QString &name, const QVariant &value) |
void | removed (const QString &config_id) |
Public Member Functions | |
Config * | addConfig () |
void | clearConfigs () |
Configs (QObject *parent=NULL) | |
bool | contains (const QString &id) const |
size_t | count () const |
Config * | getConfig (size_t index) const |
Config * | getConfig (const QString &id) const |
bool | isEmpty () const |
void | load (QSettings &settings) |
Configs & | operator= (const Configs &config) |
void | read (QDataStream &stream) |
void | removeConfig (Config *config) |
void | removeConfig (size_t index) |
void | reset () |
void | save (QSettings &settings) const |
void | saveAsYaml (const QString &package_url) const |
void | setConfigs (const Configs &configs, const application::Robots &robots, const QString &robots_config_id) |
QString | validate () const |
QStringList | willBeGenerated () const |
void | write (QDataStream &stream) const |
virtual | ~Configs () |
Private Slots | |
void | configAdded (const QString &full_name) |
void | configChanged () |
void | configCleared (const QString &full_name) |
void | configDefaultValueChanged (const QString &name, const QVariant &default_value) |
void | configDestroyed () |
void | configIdChanged (const QString &config_id) |
void | configNameChanged (const QString &previous_name, const QString &name) |
void | configRemoved (const QString &full_name) |
void | configToolTipChanged (const QString &name, const QString &tool_tip) |
void | configTypeChanged (const QString &name, const QMetaType::Type &type) |
void | configValueChanged (const QString &name, const QVariant &value) |
Private Attributes | |
QVector< Config * > | configs_ |
rqt_mrta::config::Configs::Configs | ( | QObject * | parent = NULL | ) |
Definition at line 11 of file configs.cpp.
rqt_mrta::config::Configs::~Configs | ( | ) | [virtual] |
Definition at line 13 of file configs.cpp.
Definition at line 43 of file configs.cpp.
void rqt_mrta::config::Configs::added | ( | size_t | index | ) | [signal] |
Definition at line 90 of file configs.cpp.
void rqt_mrta::config::Configs::cleared | ( | ) | [signal] |
void rqt_mrta::config::Configs::configAdded | ( | size_t | index, |
const QString & | full_name | ||
) | [signal] |
void rqt_mrta::config::Configs::configAdded | ( | const QString & | full_name | ) | [private, slot] |
Definition at line 282 of file configs.cpp.
void rqt_mrta::config::Configs::configChanged | ( | size_t | index | ) | [signal] |
void rqt_mrta::config::Configs::configChanged | ( | ) | [private, slot] |
Definition at line 270 of file configs.cpp.
void rqt_mrta::config::Configs::configCleared | ( | size_t | index, |
const QString & | full_name | ||
) | [signal] |
void rqt_mrta::config::Configs::configCleared | ( | const QString & | full_name | ) | [private, slot] |
Definition at line 302 of file configs.cpp.
void rqt_mrta::config::Configs::configDefaultValueChanged | ( | size_t | index, |
const QString & | name, | ||
const QVariant & | default_value | ||
) | [signal] |
void rqt_mrta::config::Configs::configDefaultValueChanged | ( | const QString & | name, |
const QVariant & | default_value | ||
) | [private, slot] |
Definition at line 344 of file configs.cpp.
void rqt_mrta::config::Configs::configDestroyed | ( | ) | [private, slot] |
Definition at line 365 of file configs.cpp.
void rqt_mrta::config::Configs::configIdChanged | ( | size_t | index, |
const QString & | config_id | ||
) | [signal] |
void rqt_mrta::config::Configs::configIdChanged | ( | const QString & | config_id | ) | [private, slot] |
Definition at line 272 of file configs.cpp.
void rqt_mrta::config::Configs::configNameChanged | ( | size_t | index, |
const QString & | previous_name, | ||
const QString & | name | ||
) | [signal] |
void rqt_mrta::config::Configs::configNameChanged | ( | const QString & | previous_name, |
const QString & | name | ||
) | [private, slot] |
Definition at line 312 of file configs.cpp.
void rqt_mrta::config::Configs::configRemoved | ( | size_t | index, |
const QString & | full_name | ||
) | [signal] |
void rqt_mrta::config::Configs::configRemoved | ( | const QString & | full_name | ) | [private, slot] |
Definition at line 292 of file configs.cpp.
void rqt_mrta::config::Configs::configToolTipChanged | ( | size_t | index, |
const QString & | name, | ||
const QString & | tool_tip | ||
) | [signal] |
void rqt_mrta::config::Configs::configToolTipChanged | ( | const QString & | name, |
const QString & | tool_tip | ||
) | [private, slot] |
Definition at line 355 of file configs.cpp.
void rqt_mrta::config::Configs::configTypeChanged | ( | size_t | index, |
const QString & | name, | ||
const QMetaType::Type & | type | ||
) | [signal] |
void rqt_mrta::config::Configs::configTypeChanged | ( | const QString & | name, |
const QMetaType::Type & | type | ||
) | [private, slot] |
Definition at line 323 of file configs.cpp.
void rqt_mrta::config::Configs::configValueChanged | ( | size_t | index, |
const QString & | name, | ||
const QVariant & | value | ||
) | [signal] |
void rqt_mrta::config::Configs::configValueChanged | ( | const QString & | name, |
const QVariant & | value | ||
) | [private, slot] |
Definition at line 334 of file configs.cpp.
bool rqt_mrta::config::Configs::contains | ( | const QString & | id | ) | const |
Definition at line 108 of file configs.cpp.
size_t rqt_mrta::config::Configs::count | ( | ) | const |
Definition at line 120 of file configs.cpp.
Config * rqt_mrta::config::Configs::getConfig | ( | size_t | index | ) | const |
Definition at line 26 of file configs.cpp.
Config * rqt_mrta::config::Configs::getConfig | ( | const QString & | id | ) | const |
Definition at line 31 of file configs.cpp.
bool rqt_mrta::config::Configs::isEmpty | ( | ) | const |
Definition at line 122 of file configs.cpp.
void rqt_mrta::config::Configs::load | ( | QSettings & | settings | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 136 of file configs.cpp.
Definition at line 173 of file configs.cpp.
void rqt_mrta::config::Configs::read | ( | QDataStream & | stream | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 162 of file configs.cpp.
void rqt_mrta::config::Configs::removeConfig | ( | Config * | config | ) |
Definition at line 74 of file configs.cpp.
void rqt_mrta::config::Configs::removeConfig | ( | size_t | index | ) |
Definition at line 79 of file configs.cpp.
void rqt_mrta::config::Configs::removed | ( | const QString & | config_id | ) | [signal] |
void rqt_mrta::config::Configs::reset | ( | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 151 of file configs.cpp.
void rqt_mrta::config::Configs::save | ( | QSettings & | settings | ) | const [virtual] |
Implements utilities::AbstractConfig.
Definition at line 124 of file configs.cpp.
void rqt_mrta::config::Configs::saveAsYaml | ( | const QString & | package_url | ) | const |
Definition at line 242 of file configs.cpp.
void rqt_mrta::config::Configs::setConfigs | ( | const Configs & | configs, |
const application::Robots & | robots, | ||
const QString & | robots_config_id | ||
) |
Definition at line 190 of file configs.cpp.
QString rqt_mrta::config::Configs::validate | ( | ) | const |
Definition at line 214 of file configs.cpp.
QStringList rqt_mrta::config::Configs::willBeGenerated | ( | ) | const |
Definition at line 232 of file configs.cpp.
void rqt_mrta::config::Configs::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements utilities::AbstractConfig.
Definition at line 153 of file configs.cpp.
QVector<Config*> rqt_mrta::config::Configs::configs_ [private] |