13 #ifndef ACTION_SETBLACKBOARD_NODE_H 14 #define ACTION_SETBLACKBOARD_NODE_H 41 return {
InputPort(
"value",
"Value represented as a string. convertFromString must be implemented."),
42 BidirectionalPort(
"output_key",
"Name of the blackboard entry where the value should be written") };
48 std::string key, value;
const std::string & name() const
Name of the instance, not the type.
SetBlackboard(const std::string &name, const NodeConfiguration &config)
const NodeConfiguration & config() const
std::pair< std::string, PortInfo > BidirectionalPort(StringView name, StringView description={})
Result setOutput(const std::string &key, const T &value)
The SyncActionNode is an ActionNode that explicitly prevents the status RUNNING and doesn't require a...
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
The SetBlackboard is action used to store a string into an entry of the Blackboard specified in "outp...
Result getInput(const std::string &key, T &destination) const
static PortsList providedPorts()
std::unordered_map< std::string, PortInfo > PortsList
void setRegistrationID(StringView ID)
std::pair< std::string, PortInfo > InputPort(StringView name, StringView description={})