StatechartGroupGenerator Class Reference

#include <ArmarXCore/statechart/xmlstates/StateGroupGenerator.h>

Static Public Member Functions

static Ice::StringSeq findStatechartGroupFiles (const std::string &statechartsPath)
 
static bool generateStatechartContextFile (const std::string &statechartGroupXmlFilePath, const std::string &packagePath, const std::optional< std::string > &packageIncludePath=std::nullopt)
 
static bool generateStatechartContextFile (std::filesystem::path buildDir, const std::string &packageName, const std::string &groupName, const std::vector< std::string > &proxies, const VariantInfoPtr &variantInfo, const std::set< std::string > &usedVariantTypes, bool forceRewrite, const std::optional< std::string > &packageIncludePath=std::nullopt)
 
static bool generateStatechartGroupCMakeSourceListFile (const std::string &packageName, const std::string &statechartGroupXmlFilePath, const std::filesystem::path &buildDir, bool forceRewrite, const std::string &dataDir, const std::map< std::string, std::string > &dependencies, const std::optional< std::string > &packageIncludePath=std::nullopt, bool nextGenBehavior=false)
 
static bool generateStatechartGroupCMakeSourceListFile (const std::string &statechartGroupXmlFilePath, const std::filesystem::path &buildDir, bool forceRewrite, const std::optional< std::string > &packageIncludePath=std::nullopt, bool nextGenBehavior=false)
 
static bool generateStatechartGroupCMakeSourceListFile (StatechartGroupXmlReaderPtr reader, const std::filesystem::path &buildDir, VariantInfoPtr variantInfo, bool forceRewrite, const std::optional< std::string > &packageIncludePath=std::nullopt, bool nextGenBehavior=false)
 
static bool generateStatechartGroupCMakeSourceListFiles (const std::string &packageName, const std::string &statechartGroupXmlFilePath, const std::filesystem::path &buildDir, bool forceRewrite, const std::string &dataDir, const std::map< std::string, std::string > &dependencies, const std::optional< std::string > &packageIncludePath=std::nullopt, bool nextGenBehavior=false)
 
static bool generateStateFile (const std::string &statechartGroupXmlFilePath, const std::string &statePath, const std::string &packagePath, const std::optional< std::string > &packageIncludePath=std::nullopt)
 
static bool generateStateFile (const std::string &stateName, RapidXmlReaderPtr reader, std::filesystem::path buildDir, const std::string &packageName, const std::string &groupName, const std::vector< std::string > &proxies, bool contextGenerationEnabled, const VariantInfoPtr &variantInfo, bool forceRewrite, const std::optional< std::string > &packageIncludePath=std::nullopt)
 
static void writeFileContents (const std::string &path, const std::string &contents)
 
static bool writeFileContentsIfChanged (const std::string &path, const std::string &contents)
 

Detailed Description

Definition at line 37 of file StateGroupGenerator.h.

Member Function Documentation

◆ findStatechartGroupFiles()

Ice::StringSeq findStatechartGroupFiles ( const std::string &  statechartsPath)
static

Definition at line 45 of file StateGroupGenerator.cpp.

+ Here is the caller graph for this function:

◆ generateStatechartContextFile() [1/2]

bool generateStatechartContextFile ( const std::string &  statechartGroupXmlFilePath,
const std::string &  packagePath,
const std::optional< std::string > &  packageIncludePath = std::nullopt 
)
static

Definition at line 134 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generateStatechartContextFile() [2/2]

bool generateStatechartContextFile ( std::filesystem::path  buildDir,
const std::string &  packageName,
const std::string &  groupName,
const std::vector< std::string > &  proxies,
const VariantInfoPtr variantInfo,
const std::set< std::string > &  usedVariantTypes,
bool  forceRewrite,
const std::optional< std::string > &  packageIncludePath = std::nullopt 
)
static

Definition at line 162 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:

◆ generateStatechartGroupCMakeSourceListFile() [1/3]

bool generateStatechartGroupCMakeSourceListFile ( const std::string &  packageName,
const std::string &  statechartGroupXmlFilePath,
const std::filesystem::path &  buildDir,
bool  forceRewrite,
const std::string &  dataDir,
const std::map< std::string, std::string > &  dependencies,
const std::optional< std::string > &  packageIncludePath = std::nullopt,
bool  nextGenBehavior = false 
)
static

Definition at line 392 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:

◆ generateStatechartGroupCMakeSourceListFile() [2/3]

bool generateStatechartGroupCMakeSourceListFile ( const std::string &  statechartGroupXmlFilePath,
const std::filesystem::path &  buildDir,
bool  forceRewrite,
const std::optional< std::string > &  packageIncludePath = std::nullopt,
bool  nextGenBehavior = false 
)
static

Definition at line 346 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generateStatechartGroupCMakeSourceListFile() [3/3]

bool generateStatechartGroupCMakeSourceListFile ( StatechartGroupXmlReaderPtr  reader,
const std::filesystem::path &  buildDir,
VariantInfoPtr  variantInfo,
bool  forceRewrite,
const std::optional< std::string > &  packageIncludePath = std::nullopt,
bool  nextGenBehavior = false 
)
static

Definition at line 215 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:

◆ generateStatechartGroupCMakeSourceListFiles()

bool generateStatechartGroupCMakeSourceListFiles ( const std::string &  packageName,
const std::string &  statechartGroupXmlFilePath,
const std::filesystem::path &  buildDir,
bool  forceRewrite,
const std::string &  dataDir,
const std::map< std::string, std::string > &  dependencies,
const std::optional< std::string > &  packageIncludePath = std::nullopt,
bool  nextGenBehavior = false 
)
static

Definition at line 356 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generateStateFile() [1/2]

bool generateStateFile ( const std::string &  statechartGroupXmlFilePath,
const std::string &  statePath,
const std::string &  packagePath,
const std::optional< std::string > &  packageIncludePath = std::nullopt 
)
static

Definition at line 61 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ generateStateFile() [2/2]

bool generateStateFile ( const std::string &  stateName,
RapidXmlReaderPtr  reader,
std::filesystem::path  buildDir,
const std::string &  packageName,
const std::string &  groupName,
const std::vector< std::string > &  proxies,
bool  contextGenerationEnabled,
const VariantInfoPtr variantInfo,
bool  forceRewrite,
const std::optional< std::string > &  packageIncludePath = std::nullopt 
)
static

Definition at line 91 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:

◆ writeFileContents()

void writeFileContents ( const std::string &  path,
const std::string &  contents 
)
static

Definition at line 419 of file StateGroupGenerator.cpp.

+ Here is the caller graph for this function:

◆ writeFileContentsIfChanged()

bool writeFileContentsIfChanged ( const std::string &  path,
const std::string &  contents 
)
static

Definition at line 402 of file StateGroupGenerator.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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