Class TemplatedGeneratedFile
Defined in File templates.hpp
Inheritance Relationships
Base Type
public moveit_setup::GeneratedFile
(Class GeneratedFile)
Derived Types
public moveit_setup::PackageSettingsConfig::GeneratedCMake
(Class PackageSettingsConfig::GeneratedCMake)public moveit_setup::PackageSettingsConfig::GeneratedPackageXML
(Class PackageSettingsConfig::GeneratedPackageXML)public moveit_setup::SRDFConfig::GeneratedCartesianLimits
(Class SRDFConfig::GeneratedCartesianLimits)
Class Documentation
-
class TemplatedGeneratedFile : public moveit_setup::GeneratedFile
Specialization of GeneratedFile for generating a text file from a template.
Subclassed by moveit_setup::PackageSettingsConfig::GeneratedCMake, moveit_setup::PackageSettingsConfig::GeneratedPackageXML, moveit_setup::SRDFConfig::GeneratedCartesianLimits
Public Functions
-
virtual std::filesystem::path getTemplatePath() const = 0
Returns the full path to the template file.
-
virtual bool write() override
Writes the file to disk.
-
GeneratedFile(const GeneratedFile&) = default
-
GeneratedFile(GeneratedFile&&) = default
-
inline GeneratedFile(const std::filesystem::path &package_path, const GeneratedTime &last_gen_time)
Public Static Attributes
-
static std::vector<TemplateVariable> variables
-
virtual std::filesystem::path getTemplatePath() const = 0