Go to the documentation of this file.
33 return { InputPort<unsigned>(
"msec") };
SleepNode(const std::string &name, const NodeConfig &config)
NodeStatus onRunning() override
method invoked when the action is already in the RUNNING state.
const NodeConfig & config() const
NodeStatus onStart() override
static PortsList providedPorts()
static pthread_mutex_t mutex
std::unordered_map< std::string, PortInfo > PortsList
const std::string & name() const
Name of the instance, not the type.
std::atomic_bool timer_waiting_
Sleep for a certain amount of time. Consider also using the decorator <Delay>
void halt() override final
The StatefulActionNode is the preferred way to implement asynchronous Actions. It is actually easier ...