The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | Protected Attributes | List of all members
moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions Class Reference

#include <control_xacro_config.hpp>

Inheritance diagram for moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions:
Inheritance graph
Collaboration diagram for moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions:
Collaboration graph

Public Member Functions

 GeneratedInitialPositions (const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, ControlXacroConfig &parent)
bool hasChanges () const override
 Returns true if this file will have changes when it is written to file. More...
std::filesystem::path getRelativePath () const override
 Returns the path relative to the configuration package root. More...
std::string getDescription () const override
 Returns an English description of this file's purpose. More...
bool writeYaml (YAML::Emitter &emitter) override
- Public Member Functions inherited from moveit_setup::YamlGeneratedFile
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)
std::filesystem::path getPath () const
 Returns the fully qualified path to this file. More...
FileStatus getStatus () const

Protected Attributes

- Protected Attributes inherited from moveit_setup::GeneratedFile
std::filesystem::path package_path_
const GeneratedTimelast_gen_time_

Additional Inherited Members

- Static Protected Attributes inherited from moveit_setup::GeneratedFile
static constexpr GeneratedTime::duration TIME_MOD_TOLERANCE = std::chrono::seconds(10)

Detailed Description

Definition at line 148 of file control_xacro_config.hpp.

Constructor & Destructor Documentation

◆ GeneratedInitialPositions()

moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions::GeneratedInitialPositions ( const std::filesystem::path &  package_path,
const GeneratedTime last_gen_time,
ControlXacroConfig parent 

Definition at line 151 of file control_xacro_config.hpp.

Member Function Documentation

◆ getDescription()

std::string moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions::getDescription ( ) const

Returns an English description of this file's purpose.

Implements moveit_setup::GeneratedFile.

Definition at line 167 of file control_xacro_config.hpp.

◆ getRelativePath()

std::filesystem::path moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions::getRelativePath ( ) const

Returns the path relative to the configuration package root.

Implements moveit_setup::GeneratedFile.

Definition at line 162 of file control_xacro_config.hpp.

◆ hasChanges()

bool moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions::hasChanges ( ) const

Returns true if this file will have changes when it is written to file.

Implements moveit_setup::GeneratedFile.

Definition at line 157 of file control_xacro_config.hpp.

Here is the call graph for this function:

◆ writeYaml()

bool moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions::writeYaml ( YAML::Emitter &  emitter)

Implements moveit_setup::YamlGeneratedFile.

Definition at line 281 of file control_xacro_config.cpp.

Member Data Documentation

◆ parent_

ControlXacroConfig& moveit_setup::controllers::ControlXacroConfig::GeneratedInitialPositions::parent_

Definition at line 175 of file control_xacro_config.hpp.

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