14 #ifndef CONDITIONNODE_H 15 #define CONDITIONNODE_H 29 virtual void halt() override final
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 void halt() override final
virtual NodeType type() const override final
const std::string & name() const
Name of the instance, not the type.
virtual ~ConditionNode() override=default
NodeType
Enumerates the possible types of nodes.
virtual BT::NodeStatus tick()=0
Method to be implemented by the user.
std::function< NodeStatus(TreeNode &)> TickFunctor