Choreonoid  1.8
PythonConsoleView.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_PYTHON_PLUGIN_PYTHON_CONSOLE_VIEW_H
6 #define CNOID_PYTHON_PLUGIN_PYTHON_CONSOLE_VIEW_H
7 
8 #include <cnoid/View>
9 #include "exportdecl.h"
10 
11 namespace cnoid {
12 
13 class CNOID_EXPORT PythonConsoleView : public View
14 {
15 public:
16  static void initializeClass(ExtensionManager* ext);
17 
19  virtual ~PythonConsoleView();
20 
21  void inputCommand(const std::string& command);
22  SignalProxy<void(const std::string& output)> sigOutput();
23 
24  class Impl;
25 
26 protected:
27  virtual void onActivated() override;
28 
29 private:
30  Impl* impl;
31 };
32 
33 }
34 
35 #endif
cnoid::ExtensionManager
Definition: ExtensionManager.h:23
cnoid::View
Definition: View.h:27
cnoid::PythonConsoleView
Definition: PythonConsoleView.h:13
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::SignalProxy
Definition: Signal.h:470