GetFilePathsFromDirectory Class
Get all filenames in a given directory (optionally with a specific file extension). More...
Declaration
class moveit_pro::behaviors::GetFilePathsFromDirectory { ... }
#include <get_file_paths_from_directory.hpp>
Base class
Public Constructors Index
| GetFilePathsFromDirectory (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > &shared_resources) |
|
|
|
Public Member Functions Index
| BT::NodeStatus | tick () override |
|
|
|
Public Static Functions Index
Description
Get all filenames in a given directory (optionally with a specific file extension).
The directory may be supplied as an absolute path, a path relative to the package named in package_name, or a path relative to the Objectives directory if no package is specified. Paths starting with ~ or $HOME are not supported: they would resolve inside the container, not on the host. Use an absolute path, a package_name, or a path relative to the Objectives directory instead.
| Data Port Name | Port Type | Object Type |
|---|
| package_name | input | std::string |
| directory_path | input | std::string |
| file_type | input | std::string |
| result | output | std::vector<std::string> |
Definition at line 30 of file get_file_paths_from_directory.hpp.
Public Constructors
GetFilePathsFromDirectory()
| moveit_pro::behaviors::GetFilePathsFromDirectory::GetFilePathsFromDirectory (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > & shared_resources) |
|
Public Member Functions
tick()
| BT::NodeStatus moveit_pro::behaviors::GetFilePathsFromDirectory::tick () |
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::GetFilePathsFromDirectory::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::GetFilePathsFromDirectory::providedPorts () |
|
static
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.