-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mjoppich
committed
Feb 20, 2017
1 parent
ebf89d7
commit 92087bc
Showing
11 changed files
with
230 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// | ||
// Created by joppich on 2/20/17. | ||
// | ||
|
||
#include "ExecutionDeferredNode.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// | ||
// Created by joppich on 2/20/17. | ||
// | ||
|
||
#ifndef BIOGUI_EXECUTIONDEFERREDNODE_H | ||
#define BIOGUI_EXECUTIONDEFERREDNODE_H | ||
|
||
|
||
#include <QProcess> | ||
#include "ExecutionNode.h" | ||
#include <src/app/ExecuteThread.h> | ||
|
||
|
||
class ExecutionDeferredNode : public ExecutionNode { | ||
|
||
public: | ||
|
||
ExecutionDeferredNode(QDomElement* pElement) | ||
: ExecutionNode(pElement) | ||
{ | ||
m_bDeferred = (this->getDomElementAttribute(pElement, "DEFERRED", "true").toUpper().compare("TRUE", Qt::CaseInsensitive) == 0); | ||
|
||
} | ||
|
||
virtual std::string evaluateDeferred( std::map< std::string, ExecutionNode*>* pID2Node, | ||
std::map<std::string, std::string>* pInputID2Value, | ||
std::map<std::string, WidgetFunctionNode*>* pInputID2FunctionWidget, | ||
QProcess* pProcess, ExecuteThread* pThread, bool bDeferred) = 0; | ||
|
||
protected: | ||
|
||
bool m_bDeferred; | ||
|
||
|
||
}; | ||
|
||
|
||
#endif //BIOGUI_EXECUTIONDEFERREDNODE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.