#include "startingnode.h" #include StartingNode::StartingNode() { } void StartingNode::run(ExecutionNode*) { m_previousNode = NULL; if(NULL!=m_nextNode) { m_nextNode->run(this); } } QString StartingNode::toString() const { return "StartingNode [shape=box]"; } qint64 StartingNode::getPriority() const { qint64 priority=0; if(NULL!=m_nextNode) { priority = m_nextNode->getPriority(); } return priority; }