10 #include <Atoms/Globals.h>
11 #include <Atoms/BehaviourTree/BehaviourTree.h>
103 typedef std::map<std::string, BehaviourTreeMapPtr> BehaviourTreesMap;
109 BehaviourTreesMap m_behaviourTreesMap;
Definition: BehaviourTree.h:27
Definition: BehaviourTreeMaps.h:24
void getAllBlackboardExposeKeys(const std::string &name, AtomsCore::MapMetadata &exposeKeys)
gets all the blackboard keys to expose in the host app
std::vector< std::string > behaviourTreeMapNames()
Get all behaviour tree names.
bool buildBehaviourTree(const std::string &name, Atoms::BehaviourTree &behaviourTree)
builds a behaviour tree from the map name
BehaviourTreeMapPtr behaviourTreeMap(const std::string &name) const
Return an behaviour trees.
BehaviourTreeMapPtr addBehaviourTreeMap(const std::string &name, AtomsCore::MapMetadata &behaviourTreeMap, bool replace=true)
Add an behaviour tree to the map.
BehaviourTreeMapPtr behaviourTreeMap(const std::string &name)
Return an behaviour trees.
bool buildBehaviourTreeFromMap(const BehaviourTreeMapPtr &map, Atoms::BehaviourTree &behaviourTree)
builds a behaviour tree from a behaviour tree map
static BehaviourTreeMaps & instance()
Singleton access.
unsigned int numBehaviourTreeMaps()
Get number of behaviour trees.
void removeBehaviourTreeMap(const std::string &name)
Remove an behaviour tree from the map.
bool behaviourTreeMapExists(const std::string &name)
Check if an behaviour tree exists.
BehaviourTreeMapPtr addBehaviourTreeMap(const std::string &name, const AtomsCore::MapMetadata &behaviourTreeMap, bool replace=true)
Add an behaviour tree to the map.
void clear()
Remove all behaviour trees.
Atoms namespace.
Definition: Agent.h:29
AtomsPtr< AtomsCore::MapMetadata > BehaviourTreeMapPtr
behaviour trees manager
Definition: BehaviourTreeMaps.h:21