Go to the documentation of this file.00001 #ifndef _RQT_MRTA_APPLICATION_CONFIG_TASK_H_
00002 #define _RQT_MRTA_APPLICATION_CONFIG_TASK_H_
00003
00004 #include "utilities/abstract_config.h"
00005
00006 namespace rqt_mrta
00007 {
00008 namespace config
00009 {
00010 namespace application
00011 {
00012 class Task : public utilities::AbstractConfig
00013 {
00014 Q_OBJECT
00015 public:
00016 Task(QObject* parent = NULL);
00017 virtual ~Task();
00018 QString getId() const;
00019 void setId(const QString& id);
00020 void save(QSettings& settings) const;
00021 void load(QSettings& settings);
00022 void reset();
00023 void write(QDataStream& stream) const;
00024 void read(QDataStream& stream);
00025 Task& operator=(const Task& config);
00026 QString validate() const;
00027
00028 signals:
00029 void idChanged(const QString &id);
00030
00031 private:
00032 QString id_;
00033 };
00034 }
00035 }
00036 }
00037
00038 #endif // _RQT_MRTA_APPLICATION_CONFIG_TASK_H_