libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
PlanningThread.hpp
1 /*
2  * PlanningThread.h
3  * BioMove3D
4  *
5  * Created by Jim Mainprice on 28/06/10.
6  * Copyright 2010 LAAS/CNRS. All rights reserved.
7  *
8  */
9 #ifndef PLANNING_THREAD_H
10 #define PLANNING_THREAD_H
11 
12 #if defined( CXX_PLANNER )
13 
14 #include "qtLibrary.hpp"
15 #include "plannerFunctions.hpp"
16 
17 #endif
18 
19 #if defined( MOVE3D_CORE )
20 
21 #include "qtUI/qtLibrary.hpp"
22 #include "planner/plannerFunctions.hpp"
23 
24 #endif
25 
26 
27 #include "Planner-pkg.h"
28 #include "move3d-headless.h"
29 
34 class PlanningThread: public QThread
35 {
36  Q_OBJECT
37 
38 public:
39  PlanningThread(QObject* parent = 0);
40 
41  int getNumberOfNodes()
42  {
43  return m_nbNodes;
44  }
45 
46 protected:
47  void run();
48 
49 private:
50  int m_nbNodes;
51 
52 };
53 
54 #endif
Planning thread class.
Definition: PlanningThread.h:21