Debian Codegraph @

HercUtilities/UtilityExecutor.h

raw symbols SCIP
1 /*
2 * File: UtilityExecutor.h
3 *
4 * Author: Jacob Dekel
5 * Created on: Aug 7, 2009
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id$
9 *
10 * This object runs the various utilities as a child process
11 *
12 * This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 *
25 */
26
27 #ifndef UTILITYEXECUTOR_H_
28 #define UTILITYEXECUTOR_H_cxx . . $ `HercUtilities/UtilityExecutor.h:28:9`!
29
30 #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/
31 #include "UtilityRunner.h"cxx . . $ `<file>/HercUtilities/UtilityRunner.h`/
32
33 #include <QObject>
34 #include <QString>
35
36 #include <string>
37 #include <vector>
38 #include <algorithm>
39
40 class QProcesscxx . . $ QProcess#;
41 class UtilityRunnercxx . . $ UtilityRunner#;
42
43 class UtilityExecutorcxx . . $ UtilityExecutor# : public QObjectcxx . . $ QObject#
44 {
45 Q_OBJECTcxx . . $ UtilityExecutor#tr(75d9f1c324b4579d).
46 public:
47 UtilityExecutorcxx . . $ UtilityExecutor#UtilityExecutor(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent=0);
48 virtual ~cxx . . $ UtilityExecutor#`~UtilityExecutor`(49f6e7a06ebc5aa8).UtilityExecutorcxx . . $ UtilityExecutor#();
49
50 int runcxx . . $ UtilityExecutor#run(2ff047e9671f3437).(const stdcxx . . $ std/::stringcxx . . $ std/string# & command,
51 const stdcxx . . $ std/::stringcxx . . $ std/string# & pPath,
52 stdcxx . . $ std/::vectorcxx . . $ std/vector#<stdcxx . . $ std/::stringcxx . . $ std/string#> pParameters,
53 UtilityRunnercxx . . $ UtilityRunner# * runner,
54 UtilityRunnercxx . . $ UtilityRunner# * errorRunner,
55 const QStringcxx . . $ QString#& WorkingDirectory=QStringcxx . . $ QString#QString(49f6e7a06ebc5aa8).());
56 bool runningcxx . . $ UtilityExecutor#running(c9857a73d68e59ba).();
57 QProcesscxx . . $ QProcess# * getQProcesscxx . . $ UtilityExecutor#getQProcess(54dfb229bc559d84).() { return mProcesscxx . . $ UtilityExecutor#mProcess.;}
58 void terminatecxx . . $ UtilityExecutor#terminate(49f6e7a06ebc5aa8).();
59
60 private:
61 QProcesscxx . . $ QProcess# * mProcesscxx . . $ UtilityExecutor#mProcess.;
62 };
63
64 #endif /* UTILITYEXECUTOR_H_ */