Choreonoid  1.5
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 <string>
10 #include <vector>
11 #include <boost/shared_ptr.hpp>
12 #include "exportdecl.h"
13 
14 namespace cnoid {
15 
16 class GraphWidget;
17 class GraphBarImpl;
18 
20 {
21 public:
22  static void initialize(ExtensionManager* ext);
23  static GraphBar* instance();
24 
25  GraphWidget* focusedGraphWidget();
26  void focus(GraphWidget* graphWidget, bool forceUpdate = false);
27  void releaseFocus(GraphWidget* graphWidget);
28 
29 private:
30  GraphBar();
31  virtual ~GraphBar();
32 
33  GraphBarImpl* impl;
34 };
35 
36 }
37 
38 
39 #endif
40 
Definition: ExtensionManager.h:26
Definition: ToolBar.h:22
Definition: GraphWidget.h:67
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
Definition: GraphBar.h:19
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37