tuchulcha  0.10.1
Graphical Workflow Configuration Editor
CharonRun.h
Go to the documentation of this file.
1 /* Copyright (C) 2011 Jens-Malte Gottfried
2 
3  This file is part of Tuchulcha.
4 
5  Tuchulcha is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  Tuchulcha is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with Tuchulcha. If not, see <http://www.gnu.org/licenses/>.
17  */
25 #ifndef CHARONRUN_H
26 #define CHARONRUN_H
27 
28 #include <QObject>
29 class PluginManager;
30 
32 class CharonRun : public QObject
33 {
34  Q_OBJECT
35 public:
37 
38  explicit CharonRun(QObject* parent = 0);
39  ~CharonRun();
40 
41 public slots:
43  void updatePlugins();
45 
46  void runWorkflow(QString fName);
48 
49  void updateDynamics(QString fName);
51 
55  void setupSettings();
56 
58  void exitWhenFinished();
59 
60 signals:
62  void busy();
64  void ready();
65 
66 private:
70  void _setupMan();
72  void _freeMan();
73 
74 private slots:
76  void _taskStart();
78  void _taskFinished();
79 };
80 
81 #endif // CHARONRUN_H
void setupSettings()
setup settings
Definition: CharonRun.cpp:327
void busy()
signal to avoid new command prompt
PluginManager * _man
plugin manager
Definition: CharonRun.h:68
void updatePlugins()
update plugin information
Definition: CharonRun.cpp:150
workflow execution and plugin update management
Definition: CharonRun.h:32
CharonRun(QObject *parent=0)
constructor
Definition: CharonRun.cpp:42
void exitWhenFinished()
unlock exiting, quit application if all tasks are completed
Definition: CharonRun.cpp:292
void updateDynamics(QString fName)
update dynamic plugins of given workflow file
Definition: CharonRun.cpp:296
void _setupMan()
setup plugin manager
Definition: CharonRun.cpp:54
void ready()
show that running tasks are complete
void _taskFinished()
decrease task counter
Definition: CharonRun.cpp:288
void runWorkflow(QString fName)
run given workflow file
Definition: CharonRun.cpp:221
void _taskStart()
increase task counter
Definition: CharonRun.cpp:284
void _freeMan()
release plugin manager
Definition: CharonRun.cpp:143