1 #ifndef DECORATOR_DELAY_NODE_H 2 #define DECORATOR_DELAY_NODE_H 38 return {InputPort<unsigned>(
"delay_msec",
"Tick the child after a few milliseconds")};
63 #endif // DELAY_NODE_H bool read_parameter_from_ports_
const std::string & name() const
Name of the instance, not the type.
DelayNode(const std::string &name, unsigned milliseconds)
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
const NodeConfiguration & config() const
void halt() override
The method used to interrupt the execution of this node.
static PortsList providedPorts()
static pthread_mutex_t mutex
virtual void halt() override
The method used to interrupt the execution of this node.
size_t cancelAll()
Cancels all timers.
std::unordered_map< std::string, PortInfo > PortsList
The delay node will introduce a delay of a few milliseconds and then tick the child returning the sta...