moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | Protected Attributes | List of all members
moveit_setup::app::PerceptionConfig::GeneratedSensorConfig Class Referencefinal

#include <perception_config.hpp>

Inheritance diagram for moveit_setup::app::PerceptionConfig::GeneratedSensorConfig:
Inheritance graph
[legend]
Collaboration diagram for moveit_setup::app::PerceptionConfig::GeneratedSensorConfig:
Collaboration graph
[legend]

Public Member Functions

 GeneratedSensorConfig (const std::filesystem::path &package_path, const GeneratedTime &last_gen_time, PerceptionConfig &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

PerceptionConfigparent_
 
- 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 75 of file perception_config.hpp.

Constructor & Destructor Documentation

◆ GeneratedSensorConfig()

moveit_setup::app::PerceptionConfig::GeneratedSensorConfig::GeneratedSensorConfig ( const std::filesystem::path &  package_path,
const GeneratedTime last_gen_time,
PerceptionConfig parent 
)
inline

Definition at line 78 of file perception_config.hpp.

Member Function Documentation

◆ getDescription()

std::string moveit_setup::app::PerceptionConfig::GeneratedSensorConfig::getDescription ( ) const
inlineoverridevirtual

Returns an English description of this file's purpose.

Implements moveit_setup::GeneratedFile.

Definition at line 94 of file perception_config.hpp.

◆ getRelativePath()

std::filesystem::path moveit_setup::app::PerceptionConfig::GeneratedSensorConfig::getRelativePath ( ) const
inlineoverridevirtual

Returns the path relative to the configuration package root.

Implements moveit_setup::GeneratedFile.

Definition at line 89 of file perception_config.hpp.

◆ hasChanges()

bool moveit_setup::app::PerceptionConfig::GeneratedSensorConfig::hasChanges ( ) const
inlineoverridevirtual

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

Implements moveit_setup::GeneratedFile.

Definition at line 84 of file perception_config.hpp.

◆ writeYaml()

bool moveit_setup::app::PerceptionConfig::GeneratedSensorConfig::writeYaml ( YAML::Emitter &  emitter)
overridevirtual

Implements moveit_setup::YamlGeneratedFile.

Definition at line 149 of file perception_config.cpp.

Member Data Documentation

◆ parent_

PerceptionConfig& moveit_setup::app::PerceptionConfig::GeneratedSensorConfig::parent_
protected

Definition at line 102 of file perception_config.hpp.


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