Classes | Namespaces | Macros | Typedefs | Functions | Variables
bt_factory.h File Reference
#include <functional>
#include <memory>
#include <unordered_map>
#include <unordered_set>
#include <cstring>
#include <algorithm>
#include <set>
#include "behaviortree_cpp_v3/behavior_tree.h"
Include dependency graph for bt_factory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BT::BehaviorTreeFactory
 The BehaviorTreeFactory is used to create instances of a TreeNode at run-time. More...
 
class  BT::Tree
 Struct used to store a tree. If this object goes out of scope, the tree is destroyed. More...
 

Namespaces

 BT
 

Macros

#define BT_REGISTER_NODES(factory)   static void BT_RegisterNodesFromPlugin(BT::BehaviorTreeFactory& factory)
 

Typedefs

template<typename T >
using BT::has_default_constructor = typename std::is_constructible< T, const std::string & >
 
template<typename T >
using BT::has_params_constructor = typename std::is_constructible< T, const std::string &, const NodeConfiguration & >
 
typedef std::function< std::unique_ptr< TreeNode >const std::string &, const NodeConfiguration &)> BT::NodeBuilder
 The term "Builder" refers to the Builder Pattern (https://en.wikipedia.org/wiki/Builder_pattern) More...
 

Functions

template<typename T >
NodeBuilder BT::CreateBuilder (typename std::enable_if< has_default_constructor< T >::value &&has_params_constructor< T >::value >::type *=nullptr)
 
template<typename T >
NodeBuilder BT::CreateBuilder (typename std::enable_if<!has_default_constructor< T >::value &&has_params_constructor< T >::value >::type *=nullptr)
 
template<typename T >
NodeBuilder BT::CreateBuilder (typename std::enable_if< has_default_constructor< T >::value &&!has_params_constructor< T >::value >::type *=nullptr)
 
template<typename T >
TreeNodeManifest BT::CreateManifest (const std::string &ID, PortsList portlist=getProvidedPorts< T >())
 

Variables

constexpr const char * BT::PLUGIN_SYMBOL = "BT_RegisterNodesFromPlugin"
 

Macro Definition Documentation

#define BT_REGISTER_NODES (   factory)    static void BT_RegisterNodesFromPlugin(BT::BehaviorTreeFactory& factory)

Definition at line 102 of file bt_factory.h.



behaviotree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Tue May 4 2021 02:56:25