Skip to main content

ReplaceInVector Class

Replace an element in a vector at the given index. More...

Declaration

class moveit_pro::behaviors::ReplaceInVector { ... }

Included Headers

#include <replace_in_vector.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

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

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

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

Description

Replace an element in a vector at the given index.

Data Port NamePort TypeObject Type
input_vectorinputstd::vector<BT::Any>
indexinputint
elementinputBT::Any
output_vectoroutputstd::vector<BT::Any>

Definition at line 25 of file replace_in_vector.hpp.

Public Constructors

ReplaceInVector()

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

Declaration at line 28 of file replace_in_vector.hpp, definition at line 32 of file replace_in_vector.cpp.

Public Member Functions

tick()

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

Declaration at line 35 of file replace_in_vector.hpp, definition at line 57 of file replace_in_vector.cpp.

Public Static Functions

metadata()

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

Declaration at line 33 of file replace_in_vector.hpp, definition at line 51 of file replace_in_vector.cpp.

providedPorts()

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

Declaration at line 31 of file replace_in_vector.hpp, definition at line 38 of file replace_in_vector.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.