MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / getInput

Method getInput

include/behaviortree_cpp/tree_node.h:617–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615
616template <typename T>
617inline Result TreeNode::getInput(const std::string& key, T& destination) const
618{
619 auto res = getInputStamped(key, destination);
620 if(!res)
621 {
622 return nonstd::make_unexpected(res.error());
623 }
624 return {};
625}
626
627template <typename T>
628inline Result TreeNode::setOutput(const std::string& key, const T& value)

Callers 2

checkLevelFunction · 0.45
mainFunction · 0.45

Calls 1

make_unexpectedFunction · 0.85

Tested by 1

checkLevelFunction · 0.36