4 #include <unordered_map> 7 int main(
int argc,
char* argv[])
11 printf(
"Wrong number of arguments\nUsage: %s [filename]\n", argv[0]);
17 std::set<std::string> default_nodes;
20 default_nodes.insert(
manifest.registration_ID);
27 if (default_nodes.count(
manifest.registration_ID) > 0)
31 auto& params =
manifest.required_parameters;
32 std::cout <<
"---------------\n" 34 <<
"]\n NodeParameters: " << params.size();
36 if (params.size() > 0)
41 std::cout << std::endl;
43 for (
auto& param : params)
45 std::cout <<
" - [Key]: \"" << param.first <<
"\" / [Default]: \"" << param.second
int main(int argc, char *argv[])
void registerFromPlugin(const std::string file_path)
registerFromPlugin load a shared library and execute the function BT_REGISTER_NODES (see macro)...
const std::vector< TreeNodeManifest > & manifests() const
Manifests of all the registered TreeNodes.