Choreonoid  1.8
GraphBar.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_GRAPH_BAR_H
6 #define CNOID_BASE_GRAPH_BAR_H
7 
8 #include <cnoid/ToolBar>
9 #include "exportdecl.h"
10 
11 namespace cnoid {
12 
13 class GraphWidget;
14 class GraphBarImpl;
15 
16 class CNOID_EXPORT GraphBar : public ToolBar
17 {
18 public:
19  static void initialize(ExtensionManager* ext);
20  static GraphBar* instance();
21 
22  GraphWidget* focusedGraphWidget();
23  void focus(GraphWidget* graphWidget, bool forceUpdate = false);
24  void releaseFocus(GraphWidget* graphWidget);
25 
26 private:
27  GraphBar();
28  virtual ~GraphBar();
29 
30  GraphBarImpl* impl;
31 };
32 
33 }
34 
35 #endif
cnoid::ToolBar
Definition: ToolBar.h:22
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::GraphWidget
Definition: GraphWidget.h:66
cnoid::GraphBar
Definition: GraphBar.h:16
cnoid
Definition: AbstractSceneLoader.h:11