Choreonoid  1.5
Process.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_PROCESS_H
6 #define CNOID_BASE_PROCESS_H
7 
8 #include <cnoid/Signal>
9 #include <QProcess>
10 #include "exportdecl.h"
11 
12 namespace cnoid {
13 
24 class CNOID_EXPORT Process : public QProcess
25 {
26  Q_OBJECT
27 
28 public:
29  Process(QObject* parent = 0);
30 
32  return sigReadyReadStandardOutput_;
33  }
34 
35  void start(const QString& program, const QStringList& arguments, OpenMode mode = ReadWrite);
36  void start(const QString& program, OpenMode mode = ReadWrite);
37 
38 private Q_SLOTS:
39  void onReadyReadStandardOutput();
40 
41 private:
42  Signal<void()> sigReadyReadStandardOutput_;
43 };
44 
45 }
46 
47 #endif
Definition: Process.h:24
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
SignalProxy< void()> sigReadyReadStandardOutput()
Definition: Process.h:31
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37
Definition: Signal.h:380