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

Method TrackingAction

tests/gtest_reactive.cpp:238–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 int& tick_count_;
237 bool& was_halted_;
238 TrackingAction(const std::string& name, const BT::NodeConfig& config,
239 int& tick_count, bool& was_halted)
240 : BT::StatefulActionNode(name, config)
241 , tick_count_(tick_count)
242 , was_halted_(was_halted)
243 {}
244 NodeStatus onStart() override
245 {
246 tick_count_++;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected