blob: 7ce1e384ca8a19ec85ea1bed30194d974011dc1b (
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*)
{
m_previousNode = NULL;
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;
}
|