| 
    moveit2
    
   The MoveIt Motion Planning Framework for ROS 2. 
   | 
 
Specialization of GeneratedFile for generating a text file from a template. More...
#include <templates.hpp>


Public Member Functions | |
| virtual std::filesystem::path | getTemplatePath () const =0 | 
| Returns the full path to the template file.  More... | |
| bool | write () override | 
| Writes the file to disk.  More... | |
| GeneratedFile (const GeneratedFile &)=default | |
| GeneratedFile (GeneratedFile &&)=default | |
| GeneratedFile (const std::filesystem::path &package_path, const GeneratedTime &last_gen_time) | |
  Public Member Functions inherited from moveit_setup::GeneratedFile | |
| GeneratedFile (const GeneratedFile &)=default | |
| GeneratedFile (GeneratedFile &&)=default | |
| virtual | ~GeneratedFile ()=default | 
| GeneratedFile (const std::filesystem::path &package_path, const GeneratedTime &last_gen_time) | |
| virtual std::filesystem::path | getRelativePath () const =0 | 
| Returns the path relative to the configuration package root.  More... | |
| virtual std::string | getDescription () const =0 | 
| Returns an English description of this file's purpose.  More... | |
| virtual bool | hasChanges () const =0 | 
| Returns true if this file will have changes when it is written to file.  More... | |
| std::filesystem::path | getPath () const | 
| Returns the fully qualified path to this file.  More... | |
| FileStatus | getStatus () const | 
Static Public Attributes | |
| static std::vector< TemplateVariable > | variables_ | 
Additional Inherited Members | |
  Protected Attributes inherited from moveit_setup::GeneratedFile | |
| std::filesystem::path | package_path_ | 
| const GeneratedTime & | last_gen_time_ | 
  Static Protected Attributes inherited from moveit_setup::GeneratedFile | |
| static constexpr GeneratedTime::duration | TIME_MOD_TOLERANCE = std::chrono::seconds(10) | 
Specialization of GeneratedFile for generating a text file from a template.
Definition at line 59 of file templates.hpp.
      
  | 
  default | 
      
  | 
  inline | 
Definition at line 73 of file generated_file.hpp.
      
  | 
  default | 
      
  | 
  pure virtual | 
Returns the full path to the template file.
Implemented in moveit_setup::SRDFConfig::GeneratedCartesianLimits, moveit_setup::PackageSettingsConfig::GeneratedCMake, moveit_setup::PackageSettingsConfig::GeneratedPackageXML, moveit_setup::ModifiedUrdfConfig::GeneratedModifiedURDF, moveit_setup::controllers::ControlXacroConfig::GeneratedControlHeader, moveit_setup::app::LaunchBundle::BonusTemplatedFile, and moveit_setup::app::LaunchBundle::GenericLaunchTemplate.

      
  | 
  overridevirtual | 
Writes the file to disk.
Implements moveit_setup::GeneratedFile.
Definition at line 46 of file templates.cpp.


      
  | 
  static | 
Definition at line 72 of file templates.hpp.