blob: 9395e53eb37ffa2186a6587c86b7b8799fa31f3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "startingnode.h"
#include <QDebug>
StartingNode::StartingNode()
{
}
void StartingNode::run(ExecutionNode*)
{
// qDebug() << "starting node";
if(NULL!=m_nextNode)
{
m_nextNode->run(this);
}
}
QString StartingNode::toString() const
{
return "Starting node";
}
qint64 StartingNode::getPriority() const
{
qint64 priority=0;
if(NULL!=m_nextNode)
{
priority = m_nextNode->getPriority();
}
return priority;
}
|