MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / DelayNode

Method DelayNode

src/decorators/delay_node.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace BT
7{
8DelayNode::DelayNode(const std::string& name, unsigned milliseconds)
9 : DecoratorNode(name, {})
10 , timer_id_(0)
11 , msec_(milliseconds)
12 , read_parameter_from_ports_(false)
13{
14 setRegistrationID("Delay");
15}
16
17DelayNode::DelayNode(const std::string& name, const NodeConfig& config)
18 : DecoratorNode(name, config), timer_id_(0), msec_(0), read_parameter_from_ports_(true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected