42#include <rclcpp/node.hpp>
43#include <yaml-cpp/yaml.h>
73 void initialize(
const std::shared_ptr<DataWarehouse>& config_data,
const rclcpp::Node::SharedPtr& parent_node,
74 const std::string& name)
79 logger_ = std::make_shared<rclcpp::Logger>(parent_node->get_logger().get_child(name));
118 virtual void loadPrevious(
const std::filesystem::path& ,
const YAML::Node& )
138 std::vector<GeneratedFilePtr>& )
#define MOVEIT_CLASS_FORWARD(C)
where all the data for each part of the configuration is stored.
virtual void collectVariables(std::vector< TemplateVariable > &)
Collect key/value pairs for use in templates.
rclcpp::Node::SharedPtr parent_node_
void initialize(const std::shared_ptr< DataWarehouse > &config_data, const rclcpp::Node::SharedPtr &parent_node, const std::string &name)
Called after construction to initialize the step.
std::shared_ptr< DataWarehouse > config_data_
SetupConfig(const SetupConfig &)=default
std::shared_ptr< rclcpp::Logger > logger_
const std::string & getName()
The name for this part of the configuration.
virtual bool isConfigured() const
Return true if this part of the configuration is completely set up.
virtual ~SetupConfig()=default
virtual void onInit()
Overridable initialization method.
virtual YAML::Node saveToYaml() const
Optionally save "meta" information for saving in the .setup_assistant yaml file.
virtual void collectFiles(const std::filesystem::path &, const GeneratedTime &, std::vector< GeneratedFilePtr > &)
Collect the files generated by this configuration and add them to the vector.
SetupConfig & operator=(SetupConfig &&)=default
virtual void collectDependencies(std::set< std::string > &) const
Collect the package dependencies generated by this configuration.
SetupConfig & operator=(const SetupConfig &)=default
virtual void loadPrevious(const std::filesystem::path &, const YAML::Node &)
Loads the configuration from an existing MoveIt configuration.
SetupConfig(SetupConfig &&)=default
std::filesystem::file_time_type GeneratedTime