Skip to main content

RemoveFromVector Class

Remove an element from a vector at the given index. More...

Declaration

class moveit_pro::behaviors::RemoveFromVector { ... }

Included Headers

#include <remove_from_vector.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

RemoveFromVector (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

Remove an element from a vector at the given index.

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

Definition at line 24 of file remove_from_vector.hpp.

Public Constructors

RemoveFromVector()

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

Declaration at line 27 of file remove_from_vector.hpp, definition at line 31 of file remove_from_vector.cpp.

Public Member Functions

tick()

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

Declaration at line 34 of file remove_from_vector.hpp, definition at line 56 of file remove_from_vector.cpp.

Public Static Functions

metadata()

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

Declaration at line 32 of file remove_from_vector.hpp, definition at line 50 of file remove_from_vector.cpp.

providedPorts()

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

Declaration at line 30 of file remove_from_vector.hpp, definition at line 37 of file remove_from_vector.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.