14 #ifndef CONDITIONNODE_H 15 #define CONDITIONNODE_H 29 virtual void halt() override final
virtual void halt() overridefinal
const std::string & name() const
Name of the instance, not the type.
The SimpleConditionNode provides an easy to use ConditionNode. The user should simply provide a callb...
const NodeConfiguration & config() const
TickFunctor tick_functor_
ConditionNode(const std::string &name, const NodeConfiguration &config)
virtual NodeType type() const overridefinal
virtual ~ConditionNode() override=default
NodeType
Enumerates the possible types of nodes.
virtual BT::NodeStatus tick()=0
Method to be implemented by the user.
void setStatus(NodeStatus new_status)
std::function< NodeStatus(TreeNode &)> TickFunctor