MoveIt Pro API
Core Behaviors for MoveIt Pro
Loading...
Searching...
No Matches
moveit_studio::behaviors::GetFilePathsFromDirectory Class Referencefinal

Get all filenames in a given directory (optionally with a specific file extension). More...

#include <get_file_paths_from_directory.hpp>

Inheritance diagram for moveit_studio::behaviors::GetFilePathsFromDirectory:
Collaboration diagram for moveit_studio::behaviors::GetFilePathsFromDirectory:

Public Member Functions

 GetFilePathsFromDirectory (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &shared_resources)
 
BT::NodeStatus tick () override
 
- Public Member Functions inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode >
 SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
 Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node.
 

Static Public Member Functions

static BT::PortsList providedPorts ()
 
static BT::KeyValueVector metadata ()
 

Additional Inherited Members

- Protected Attributes inherited from moveit_studio::behaviors::SharedResourcesNode< BT::SyncActionNode >
std::shared_ptr< BehaviorContextshared_resources_
 

Detailed Description

Get all filenames in a given directory (optionally with a specific file extension).

Data Port Name Port Type Object Type
directory_path input std::string
file_type input std::string
result output std::vector<std::string>

Constructor & Destructor Documentation

◆ GetFilePathsFromDirectory()

moveit_studio::behaviors::GetFilePathsFromDirectory::GetFilePathsFromDirectory ( const std::string &  name,
const BT::NodeConfiguration &  config,
const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &  shared_resources 
)

Member Function Documentation

◆ metadata()

BT::KeyValueVector moveit_studio::behaviors::GetFilePathsFromDirectory::metadata ( )
static

◆ providedPorts()

BT::PortsList moveit_studio::behaviors::GetFilePathsFromDirectory::providedPorts ( )
static

◆ tick()

BT::NodeStatus moveit_studio::behaviors::GetFilePathsFromDirectory::tick ( )
override

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