Skip to main content

ReadTextFileAsString Class

Read the contents of a text file and output the contents as a std::string. More...

Declaration

class moveit_pro::behaviors::ReadTextFileAsString { ... }

Included Headers

#include <read_text_file_as_string.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index

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

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Description

Read the contents of a text file and output the contents as a std::string.

Data Port NamePort TypeObject Type
text_filenameinputstd::string
string_file_contentsoutputstd::string

Definition at line 27 of file read_text_file_as_string.hpp.

Public Constructors

ReadTextFileAsString()

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

Declaration at line 30 of file read_text_file_as_string.hpp, definition at line 26 of file read_text_file_as_string.cpp.

Public Member Functions

tick()

BT::NodeStatus moveit_pro::behaviors::ReadTextFileAsString::tick ()

Declaration at line 37 of file read_text_file_as_string.hpp, definition at line 46 of file read_text_file_as_string.cpp.

Public Static Functions

metadata()

BT::KeyValueVector moveit_pro::behaviors::ReadTextFileAsString::metadata ()
static

Declaration at line 35 of file read_text_file_as_string.hpp, definition at line 41 of file read_text_file_as_string.cpp.

providedPorts()

BT::PortsList moveit_pro::behaviors::ReadTextFileAsString::providedPorts ()
static

Declaration at line 33 of file read_text_file_as_string.hpp, definition at line 32 of file read_text_file_as_string.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.