#include <robots.h>
Signals | |
void | added (size_t robot_index) |
void | cleared () |
void | removed (const QString &robot_id) |
void | robotIdChanged (size_t index, const QString &robot_id) |
void | taskAdded (size_t robot_index, size_t task_index) |
void | taskIdChanged (size_t robot_index, size_t task_index, const QString &task_id) |
void | taskRemoved (size_t robot_index, const QString &task_id) |
void | tasksCleared (size_t robot_index) |
Public Member Functions | |
Robot * | addRobot () |
void | clearRobots () |
bool | contains (const QString &id) const |
size_t | count () const |
Robot * | getRobot (size_t index) const |
bool | isEmpty () const |
void | load (QSettings &settings) |
Robots & | operator= (const Robots &config) |
void | read (QDataStream &stream) |
void | removeRobot (Robot *robot) |
void | removeRobot (size_t index) |
void | reset () |
Robots (QObject *parent=NULL) | |
void | save (QSettings &settings) const |
QString | validate () const |
void | write (QDataStream &stream) const |
virtual | ~Robots () |
Private Slots | |
void | robotDestroyed () |
void | robotIdChanged (const QString &robot_id) |
void | taskAdded (size_t task_index) |
void | taskIdChanged (size_t task_index, const QString &task_id) |
void | taskRemoved (const QString &task_id) |
void | tasksCleared () |
Private Attributes | |
QVector< Robot * > | robots_ |
Definition at line 16 of file application/robots.h.
rqt_mrta::config::application::Robots::Robots | ( | QObject * | parent = NULL | ) |
Definition at line 10 of file application/robots.cpp.
rqt_mrta::config::application::Robots::~Robots | ( | ) | [virtual] |
Definition at line 12 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::added | ( | size_t | robot_index | ) | [signal] |
Definition at line 32 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::cleared | ( | ) | [signal] |
Definition at line 64 of file application/robots.cpp.
bool rqt_mrta::config::application::Robots::contains | ( | const QString & | id | ) | const |
Definition at line 82 of file application/robots.cpp.
size_t rqt_mrta::config::application::Robots::count | ( | ) | const |
Definition at line 25 of file application/robots.cpp.
Robot * rqt_mrta::config::application::Robots::getRobot | ( | size_t | index | ) | const |
Definition at line 27 of file application/robots.cpp.
bool rqt_mrta::config::application::Robots::isEmpty | ( | ) | const |
Definition at line 94 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::load | ( | QSettings & | settings | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 108 of file application/robots.cpp.
Definition at line 147 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::read | ( | QDataStream & | stream | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 139 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::removed | ( | const QString & | robot_id | ) | [signal] |
void rqt_mrta::config::application::Robots::removeRobot | ( | Robot * | robot | ) |
Definition at line 51 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::removeRobot | ( | size_t | index | ) |
Definition at line 53 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::reset | ( | ) | [virtual] |
Implements utilities::AbstractConfig.
Definition at line 129 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::robotDestroyed | ( | ) | [private, slot] |
Definition at line 232 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::robotIdChanged | ( | size_t | index, |
const QString & | robot_id | ||
) | [signal] |
void rqt_mrta::config::application::Robots::robotIdChanged | ( | const QString & | robot_id | ) | [private, slot] |
Definition at line 222 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::save | ( | QSettings & | settings | ) | const [virtual] |
Implements utilities::AbstractConfig.
Definition at line 96 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::taskAdded | ( | size_t | robot_index, |
size_t | task_index | ||
) | [signal] |
void rqt_mrta::config::application::Robots::taskAdded | ( | size_t | task_index | ) | [private, slot] |
Definition at line 192 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::taskIdChanged | ( | size_t | robot_index, |
size_t | task_index, | ||
const QString & | task_id | ||
) | [signal] |
void rqt_mrta::config::application::Robots::taskIdChanged | ( | size_t | task_index, |
const QString & | task_id | ||
) | [private, slot] |
Definition at line 182 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::taskRemoved | ( | size_t | robot_index, |
const QString & | task_id | ||
) | [signal] |
void rqt_mrta::config::application::Robots::taskRemoved | ( | const QString & | task_id | ) | [private, slot] |
Definition at line 202 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::tasksCleared | ( | size_t | robot_index | ) | [signal] |
void rqt_mrta::config::application::Robots::tasksCleared | ( | ) | [private, slot] |
Definition at line 212 of file application/robots.cpp.
QString rqt_mrta::config::application::Robots::validate | ( | ) | const |
Definition at line 164 of file application/robots.cpp.
void rqt_mrta::config::application::Robots::write | ( | QDataStream & | stream | ) | const [virtual] |
Implements utilities::AbstractConfig.
Definition at line 131 of file application/robots.cpp.
QVector<Robot*> rqt_mrta::config::application::Robots::robots_ [private] |
Definition at line 50 of file application/robots.h.