const std::string & name() const
Name of the instance, not the type.
const NodeConfiguration & config() const
TickFunctor tick_functor_
ConditionNode(const std::string &name, const NodeConfiguration &config)
SimpleConditionNode(const std::string &name, TickFunctor tick_functor, const NodeConfiguration &config)
virtual NodeStatus tick() override
Method to be implemented by the user.
std::function< NodeStatus(TreeNode &)> TickFunctor