![]() |
Botcraft 1.21.4
|
#include <BehaviourTree.hpp>
Public Member Functions | |
DecoratorBuilder (Parent *parent, Decorator< Context > *node) | |
template<typename S , typename... Args, typename = typename std::enable_if_t<std::is_convertible_v<S, std::string>>> | |
std::conditional_t< std::is_same_v< Parent, Builder< Context > >, std::shared_ptr< BehaviourTree< Context > >, Parent & > | leaf (const S &s, Args &&... args) |
template<typename... Args> | |
std::conditional_t< std::is_same_v< Parent, Builder< Context > >, std::shared_ptr< BehaviourTree< Context > >, Parent & > | leaf (Args &&... args) |
std::conditional_t< std::is_same_v< Parent, Builder< Context > >, std::shared_ptr< BehaviourTree< Context > >, Parent & > | tree (std::shared_ptr< BehaviourTree< Context > > arg) |
CompositeBuilder< Parent, Context > | sequence (const std::string &s="") |
CompositeBuilder< Parent, Context > | selector (const std::string &s="") |
template<typename CompositeType , typename... Args, typename S , typename = typename std::enable_if_t<std::is_convertible_v<S, std::string>>> | |
CompositeBuilder< Parent, Context > | composite (const S &s, Args &&... args) |
template<typename CompositeType , typename... Args> | |
CompositeBuilder< Parent, Context > | composite (Args &&... args) |
DecoratorBuilder< Parent, Context > | inverter (const std::string &s="") |
DecoratorBuilder< Parent, Context > | succeeder (const std::string &s="") |
DecoratorBuilder< Parent, Context > | repeater (const size_t n) |
DecoratorBuilder< Parent, Context > | repeater (const std::string &s, const size_t n) |
template<typename DecoratorType , typename... Args, typename S , typename = typename std::enable_if_t<std::is_convertible_v<S, std::string>>> | |
DecoratorBuilder< Parent, Context > | decorator (const S &s, Args &&... args) |
template<typename DecoratorType , typename... Args> | |
DecoratorBuilder< Parent, Context > | decorator (Args &&... args) |
Private Attributes | |
Parent * | parent |
Decorator< Context > * | node |
Definition at line 564 of file BehaviourTree.hpp.
|
inline |
Definition at line 567 of file BehaviourTree.hpp.
|
inline |
Definition at line 664 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 654 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 721 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 711 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 673 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 597 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 579 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 689 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 697 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 640 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 632 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 681 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
inline |
Definition at line 616 of file BehaviourTree.hpp.
References Botcraft::DecoratorBuilder< Parent, Context >::node, and Botcraft::DecoratorBuilder< Parent, Context >::parent.
|
private |
Definition at line 730 of file BehaviourTree.hpp.
Referenced by Botcraft::DecoratorBuilder< Parent, Context >::composite(), Botcraft::DecoratorBuilder< Parent, Context >::composite(), Botcraft::DecoratorBuilder< Parent, Context >::decorator(), Botcraft::DecoratorBuilder< Parent, Context >::decorator(), Botcraft::DecoratorBuilder< Parent, Context >::inverter(), Botcraft::DecoratorBuilder< Parent, Context >::leaf(), Botcraft::DecoratorBuilder< Parent, Context >::leaf(), Botcraft::DecoratorBuilder< Parent, Context >::repeater(), Botcraft::DecoratorBuilder< Parent, Context >::repeater(), Botcraft::DecoratorBuilder< Parent, Context >::selector(), Botcraft::DecoratorBuilder< Parent, Context >::sequence(), Botcraft::DecoratorBuilder< Parent, Context >::succeeder(), and Botcraft::DecoratorBuilder< Parent, Context >::tree().
|
private |
Definition at line 729 of file BehaviourTree.hpp.
Referenced by Botcraft::DecoratorBuilder< Parent, Context >::composite(), Botcraft::DecoratorBuilder< Parent, Context >::composite(), Botcraft::DecoratorBuilder< Parent, Context >::decorator(), Botcraft::DecoratorBuilder< Parent, Context >::decorator(), Botcraft::DecoratorBuilder< Parent, Context >::inverter(), Botcraft::DecoratorBuilder< Parent, Context >::leaf(), Botcraft::DecoratorBuilder< Parent, Context >::leaf(), Botcraft::DecoratorBuilder< Parent, Context >::repeater(), Botcraft::DecoratorBuilder< Parent, Context >::repeater(), Botcraft::DecoratorBuilder< Parent, Context >::selector(), Botcraft::DecoratorBuilder< Parent, Context >::sequence(), Botcraft::DecoratorBuilder< Parent, Context >::succeeder(), and Botcraft::DecoratorBuilder< Parent, Context >::tree().