32 StatechartGroup::StatechartGroup(QString groupDefinitionFilePath, QString groupPath, QString name, QString description, QString packageName,
const QList<QString>& proxies,
bool generateContext,
const QMap<QString, QString>& statechartGroupConfigurations,
WriteAccess writable)
34 this->definitionFilePath = groupDefinitionFilePath;
35 this->groupPath = groupPath;
37 this->description = description;
38 this->packageName = packageName;
39 this->proxies = proxies;
40 this->generateContext = generateContext;
41 this->statechartGroupConfigurations = statechartGroupConfigurations;
42 this->writable = writable;
55 return definitionFilePath;
65 return std::filesystem::path(groupPath.toUtf8().data());
70 return std::filesystem::path(definitionFilePath.toUtf8().data());
79 return statechartGroupConfigurations;
89 return generateContext;
94 this->generateContext = generateContext;
104 this->rootNode = rootNode;
109 return rootNode->findNodeByStateName(name);
114 QVector<StateTreeNodePtr> result = rootNode->getAllSubNodesRecursively();
115 result.push_front(rootNode);
121 return rootNode->getAllStatesRecursively(localOnly);
137 this->description = description;
142 this->proxies = proxies;
147 this->statechartGroupConfigurations = statechartGroupConfigurations;