StateTreeModel Class Reference

#include <ArmarXGui/gui-plugins/StatechartEditorPlugin/model/StateTreeModel.h>

+ Inheritance diagram for StateTreeModel:

Signals

void stateAddedOrRemoved ()
 

Public Member Functions

void addGroup (StatechartGroupPtr group)
 
void annotateAllStateRerefences ()
 
void annotateStateRerefences (const QList< statechartmodel::StatePtr > &statesToAnnotate)
 
void clear ()
 
QList< statechartmodel::StateInstancePtr > findStateUsages (StateTreeNodePtr node)
 
void generateAllBaseClasses (QPointer< QProgressDialog > progressDialog=NULL)
 
void generateBaseClass (StateTreeNodePtr node, std::filesystem::path buildDir, VariantInfoPtr variantInfo, std::vector< std::string > proxies)
 
void generateBaseClasses (const StatechartGroupPtr &group)
 
void generateGroupDocString (StatechartGroupPtr group, QString doxyGroupPath)
 
StatechartGroupPtr getGroupByName (const QString &groupName) const
 
QList< StatechartGroupPtr > getGroups () const
 
StateTreeNodePtr getNodeByState (statechartmodel::StatePtr state) const
 
StateTreeNodePtr getNodeByUuid (const QString &uuid) const
 
const CMakePackageFinder & getPackageFinder (const QString &packageName)
 
StateTreeNodePtr getRootNode () const
 
bool groupExists (StatechartGroupPtr group)
 
bool groupExists (std::filesystem::path groupPath)
 
void loadAllStates ()
 
StatechartGroupPtr loadGroup (QString groupDefinitionFile, StateTreeNodePtr rootNode)
 
void loadGroupStates (StatechartGroupPtr group)
 
void loadNode (StateTreeNodePtr node, std::filesystem::path parentPath, QList< statechartmodel::StatePtr > &allTheReaders)
 
void loadVariantInfos (const std::string &packageName)
 
void notifyDeleteStateTreeNode (StateTreeNodePtr node)
 
void notifyNewStateTreeNode (StateTreeNodePtr node)
 
void saveAll (QPointer< QProgressDialog > progressDialog=NULL)
 
void saveNode (StateTreeNodePtr node, std::filesystem::path parentPath)
 
void setNodeState (StateTreeNodePtr node, statechartmodel::StatePtr state)
 
 StateTreeModel (Ice::CommunicatorPtr ic, VariantInfoPtr variantInfo)
 
void writeIfChanged (std::string targetPath, std::string contents)
 

Constructor & Destructor Documentation

◆ StateTreeModel()

Member Function Documentation

◆ addGroup()

void addGroup ( StatechartGroupPtr group)

◆ annotateAllStateRerefences()

void annotateAllStateRerefences ( )

◆ annotateStateRerefences()

void annotateStateRerefences ( const QList< statechartmodel::StatePtr > & statesToAnnotate)

◆ clear()

void clear ( )

◆ findStateUsages()

QList< StateInstancePtr > findStateUsages ( StateTreeNodePtr node)

◆ generateAllBaseClasses()

void generateAllBaseClasses ( QPointer< QProgressDialog > progressDialog = NULL)

◆ generateBaseClass()

void generateBaseClass ( StateTreeNodePtr node,
std::filesystem::path buildDir,
VariantInfoPtr variantInfo,
std::vector< std::string > proxies )

◆ generateBaseClasses()

void generateBaseClasses ( const StatechartGroupPtr & group)

◆ generateGroupDocString()

void generateGroupDocString ( StatechartGroupPtr group,
QString doxyGroupPath )

◆ getGroupByName()

StatechartGroupPtr getGroupByName ( const QString & groupName) const

◆ getGroups()

QList< StatechartGroupPtr > getGroups ( ) const

◆ getNodeByState()

StateTreeNodePtr getNodeByState ( statechartmodel::StatePtr state) const

◆ getNodeByUuid()

StateTreeNodePtr getNodeByUuid ( const QString & uuid) const

◆ getPackageFinder()

const CMakePackageFinder & getPackageFinder ( const QString & packageName)

◆ getRootNode()

StateTreeNodePtr getRootNode ( ) const

◆ groupExists() [1/2]

bool groupExists ( StatechartGroupPtr group)

◆ groupExists() [2/2]

bool groupExists ( std::filesystem::path groupPath)

◆ loadAllStates()

void loadAllStates ( )

◆ loadGroup()

StatechartGroupPtr loadGroup ( QString groupDefinitionFile,
StateTreeNodePtr rootNode )

◆ loadGroupStates()

void loadGroupStates ( StatechartGroupPtr group)

◆ loadNode()

void loadNode ( StateTreeNodePtr node,
std::filesystem::path parentPath,
QList< statechartmodel::StatePtr > & allTheReaders )

◆ loadVariantInfos()

void loadVariantInfos ( const std::string & packageName)

◆ notifyDeleteStateTreeNode()

void notifyDeleteStateTreeNode ( StateTreeNodePtr node)

◆ notifyNewStateTreeNode()

void notifyNewStateTreeNode ( StateTreeNodePtr node)

◆ saveAll()

void saveAll ( QPointer< QProgressDialog > progressDialog = NULL)

◆ saveNode()

void saveNode ( StateTreeNodePtr node,
std::filesystem::path parentPath )

◆ setNodeState()

void setNodeState ( StateTreeNodePtr node,
statechartmodel::StatePtr state )

◆ stateAddedOrRemoved

void stateAddedOrRemoved ( )
signal

◆ writeIfChanged()

void writeIfChanged ( std::string targetPath,
std::string contents )

The documentation for this class was generated from the following files: