Class TemplatedGeneratedFile

Inheritance Relationships

Base Type

Derived Types

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