select_tasks_state.h
Go to the documentation of this file.
1 //
2 // Created by yijiangh on 6/22/17.
3 //
4 
5 #ifndef CHOREO_GUI_SELECT_PATH_STATE_H
6 #define CHOREO_GUI_SELECT_PATH_STATE_H
7 
8 #include <choreo_gui/gui_state.h>
10 #include <ros/ros.h>
11 
12 namespace choreo_gui
13 {
14 
15 // in this state, based on the parsed (or freshly computed)
16 // sequence result, the ui will invoke selection widget to
17 // call core node to visualize assembly sequence and associated
18 // grasp poses. User can choose up until which index that she/he
19 // wants to compute the plan.
20 // In the light of upcoming support for picknplace, Choreo will
21 // start to support visualization for input grasps (end effector included)
22 //
23 class SelectTasksState : public GuiState
24 {
25  Q_OBJECT
26  public:
27  // Entry and exit classes
28  virtual void onStart(ChoreoWidget& gui);
29  virtual void onExit(ChoreoWidget& gui);
30 
31  // Handlers for the fixed buttons
32  virtual void onNext(ChoreoWidget& gui);
33  virtual void onBack(ChoreoWidget& gui);
34  virtual void onReset(ChoreoWidget& gui);
35 
36  protected Q_SLOTS:
37  void toBackState();
38  void toNextState();
39 
40  protected:
41  void selectTask(ChoreoWidget& gui);
42 
43  private:
45 };
46 }
47 
48 #endif //CHOREO_GUI_SELECT_PATH_STATE_H
virtual void onExit(ChoreoWidget &gui)
The ChoreoWidget class works in states:
Definition: choreo_widget.h:34
virtual void onStart(ChoreoWidget &gui)
virtual void onBack(ChoreoWidget &gui)
void selectTask(ChoreoWidget &gui)
virtual void onNext(ChoreoWidget &gui)
virtual void onReset(ChoreoWidget &gui)


choreo_gui
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:58:56