00001 // 00002 // C++ Interface: mapthread 00003 // 00004 // Description: 00005 // 00006 // 00007 // Author: Martin Zidek,,, <martin@martin-laptop>, (C) 2007 00008 // 00009 // Copyright: See COPYING file that comes with this distribution 00010 // 00011 // 00012 #ifndef MAPTHREAD_H 00013 #define MAPTHREAD_H 00014 00015 00016 #include <QThread> 00017 #include "ui_robomon.h" 00018 00019 #include "robomon.h" 00020 #include <map.h> 00021 00022 class MapThread : public QThread 00023 { 00024 //Q_OBJECT 00025 00026 public: 00027 MapThread(); 00028 int shared_segment_size; 00029 int segment_id; 00030 //~MapThread(); 00031 void run(); 00032 void setWindow(void *ptr); 00033 }; 00034 #endif