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

Method Action_A

examples/t08_additional_node_args.cpp:38–41  ·  view source on GitHub ↗

additional arguments passed to the constructor

Source from the content-addressed store, hash-verified

36public:
37 // additional arguments passed to the constructor
38 Action_A(const std::string& name, const NodeConfig& config, int arg_int,
39 std::string arg_str, NoCopyObj& nc)
40 : SyncActionNode(name, config), _arg1(arg_int), _arg2(arg_str), _nc(nc)
41 {}
42
43 NodeStatus tick() override
44 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected