37 const QList<QString>& proxies,
39 const QMap<QString, QString>& statechartGroupConfigurations,
42 this->definitionFilePath = groupDefinitionFilePath;
43 this->groupPath = groupPath;
45 this->description = description;
46 this->packageName = packageName;
47 this->proxies = proxies;
48 this->generateContext = generateContext;
49 this->statechartGroupConfigurations = statechartGroupConfigurations;
50 this->writable = writable;
68 return definitionFilePath;
80 return std::filesystem::path(groupPath.toUtf8().data());
86 return std::filesystem::path(definitionFilePath.toUtf8().data());
95const QMap<QString, QString>&
98 return statechartGroupConfigurations;
110 return generateContext;
116 this->generateContext = generateContext;
128 this->rootNode = rootNode;
134 return rootNode->findNodeByStateName(name);
137QVector<StateTreeNodePtr>
140 QVector<StateTreeNodePtr> result = rootNode->getAllSubNodesRecursively();
141 result.push_front(rootNode);
145QVector<statechartmodel::StatePtr>
148 return rootNode->getAllStatesRecursively(localOnly);
167 this->description = description;
173 this->proxies = proxies;
179 this->statechartGroupConfigurations = statechartGroupConfigurations;
The CMakePackageFinder class provides an interface to the CMake Package finder capabilities.
std::string getPackageDir() const
Returns the top level path of a source package.
QVector< statechartmodel::StatePtr > getAllStates(bool localOnly=true) const
void setContextGeneration(bool generateContext)
QString getPackagePath() const
WriteAccess getWriteAccess()
void setRootNode(StateTreeNodePtr rootNode)
StateTreeNodePtr findNodeByStateName(QString name)
QList< QString > getProxies() const
void setDescription(const QString &description)
bool contextGenerationEnabled() const
QString getPackageName() const
std::filesystem::path getBoostGroupPath() const
QString getGroupPath() const
StatechartGroup(QString definitionFilePath, QString groupPath, QString name, QString description, QString packageName, const QList< QString > &proxies, bool generateContext, const QMap< QString, QString > &statechartGroupConfigurations, WriteAccess writable)
QString getDescription() const
void setConfigurations(const QMap< QString, QString > &statechartGroupConfigurations)
QString getDefinitionFilePath() const
QVector< StateTreeNodePtr > getAllNodes() const
std::filesystem::path getBoostDefinitionFilePath() const
void setProxies(const QList< QString > proxies)
const QMap< QString, QString > & getConfigurations() const
bool existsCMakeLists() const
StateTreeNodePtr getRootNode()
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< StateTreeNode > StateTreeNodePtr