00001 #ifndef _RQT_MRTA_ARCHITECTURE_CONFIG_IDLE_ROBOTS_H_ 00002 #define _RQT_MRTA_ARCHITECTURE_CONFIG_IDLE_ROBOTS_H_ 00003 00004 #include "utilities/abstract_config.h" 00005 #include "rqt_mrta/config/architecture/topic.h" 00006 00007 namespace rqt_mrta 00008 { 00009 namespace config 00010 { 00011 namespace architecture 00012 { 00013 class IdleRobots : public utilities::AbstractConfig 00014 { 00015 Q_OBJECT 00016 public: 00017 IdleRobots(QObject* parent = NULL); 00018 virtual ~IdleRobots(); 00019 Topic* getTopic() const; 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 IdleRobots& operator=(const IdleRobots& config); 00026 00027 private: 00028 Topic* topic_; 00029 00030 private slots: 00031 void topicChanged(); 00032 }; 00033 } 00034 } 00035 } 00036 00037 #endif // _RQT_MRTA_ARCHITECTURE_CONFIG_IDLE_ROBOTS_H_