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,
00017                             QObject* parent = 0);
00018   ~BenchmarkProcessingThread();
00019 
00020   void startAndShow();
00021 
00022 private:
00023   boost::shared_ptr<QProgressDialog> progress_dialog_;
00024 
00025   moveit_benchmarks::BenchmarkExecution be_;
00026   moveit_benchmarks::BenchmarkType bt_;
00027 
00028 protected:
00029   void run();
00030 };
00031 
00032 #endif  // BENCHMARK_PROCESSING_THREAD_H


benchmarks_gui
Author(s): Mario Prats
autogenerated on Wed Jun 19 2019 19:25:05