|  | MoveIt Pro API
    Core Behaviors for MoveIt Pro | 
Read the contents of a text file and output the contents as a std::string. More...
#include <read_text_file_as_string.hpp>


| Public Member Functions | |
| ReadTextFileAsString (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< 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< BehaviorContext > | shared_resources_ | 
Read the contents of a text file and output the contents as a std::string.
| Data Port Name | Port Type | Object Type | 
|---|---|---|
| text_filename | input | std::string | 
| string_file_contents | output | std::string | 
| moveit_studio::behaviors::ReadTextFileAsString::ReadTextFileAsString | ( | const std::string & | name, | 
| const BT::NodeConfiguration & | config, | ||
| const std::shared_ptr< BehaviorContext > & | shared_resources | ||
| ) | 
| 
 | static | 
| 
 | static | 
| 
 | override |