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

Function CreateManifest

include/behaviortree_cpp/bt_factory.h:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43template <typename T>
44inline TreeNodeManifest CreateManifest(const std::string& ID,
45 PortsList portlist = getProvidedPorts<T>())
46{
47 if constexpr(has_static_method_metadata<T>::value)
48 {
49 return { getType<T>(), ID, portlist, T::metadata() };
50 }
51 return { getType<T>(), ID, portlist, {} };
52}
53
54#ifdef BT_PLUGIN_EXPORT
55

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected