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