00001 #ifndef _MRTA_ROBOT_MONITOR_H_ 00002 #define _MRTA_ROBOT_MONITOR_H_ 00003 00004 #include "mrta/monitor.h" 00005 00006 namespace mrta 00007 { 00008 class Robot; 00009 class RobotMonitor : public Monitor 00010 { 00011 Q_OBJECT 00012 public: 00013 RobotMonitor(System* system, utilities::MessageSubscriberRegistry* registry, 00014 Config* config, int state); 00015 virtual ~RobotMonitor(); 00016 00017 protected: 00018 void update(const QString& id); 00019 00020 protected slots: 00021 void add(const QString& id); 00022 00023 private: 00024 int state_; 00025 void add(Robot* robot); 00026 }; 00027 } 00028 00029 #endif // _MRTA_ROBOT_MONITOR_H_