benchmark_processing_thread.h
Go to the documentation of this file.
00001 #ifndef BENCHMARK_PROCESSING_THREAD_H
00002 #define BENCHMARK_PROCESSING_THREAD_H
00003 
00004 #include <QtCore/QThread>
00005 #include <QProgressDialog>
00006 
00007 #ifndef Q_MOC_RUN
00008 #include <moveit/benchmarks/benchmark_execution.h>
00009 #endif
00010 
00011 class BenchmarkProcessingThread : public QThread
00012 {
00013   Q_OBJECT
00014 
00015 public:
00016   BenchmarkProcessingThread(const moveit_benchmarks::BenchmarkExecution &be, const moveit_benchmarks::BenchmarkType &bt, QObject *parent = 0);
00017   ~BenchmarkProcessingThread();
00018 
00019   void startAndShow();
00020 
00021 private:
00022   boost::shared_ptr<QProgressDialog> progress_dialog_;
00023 
00024   moveit_benchmarks::BenchmarkExecution be_;
00025   moveit_benchmarks::BenchmarkType bt_;
00026 
00027 protected:
00028   void run();
00029 };
00030 
00031 #endif // BENCHMARK_PROCESSING_THREAD_H


benchmarks_gui
Author(s): Mario Prats
autogenerated on Wed Aug 26 2015 12:44:27