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

Method setPreTickFunction

src/tree_node.cpp:333–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333void TreeNode::setPreTickFunction(PreTickCallback callback)
334{
335 const std::unique_lock lk(_p->callback_injection_mutex);
336 _p->pre_tick_callback = std::move(callback);
337}
338
339void TreeNode::setPostTickFunction(PostTickCallback callback)
340{

Callers 3

insertHookMethod · 0.80
removeHookMethod · 0.80
TESTFunction · 0.80

Calls 1

moveFunction · 0.85

Tested by 1

TESTFunction · 0.64