#include "startingnode.h" #include StartingNode::StartingNode() { } void StartingNode::run(ExecutionNode*) { m_previousNode = NULL; if(NULL!=m_nextNode) { m_nextNode->run(this); } } QString StartingNode::toString(bool withlabel) const { if(withlabel) { return QString("%1 [label=\"StartingNode %2\"]").arg(m_id); } else { return m_id; } } qint64 StartingNode::getPriority() const { qint64 priority=0; if(NULL!=m_nextNode) { priority = m_nextNode->getPriority(); } return priority; }