Botcraft 1.21.4
Loading...
Searching...
No Matches
Botcraft::Node< Context > Class Template Referenceabstract

#include <BehaviourTree.hpp>

Inheritance diagram for Botcraft::Node< Context >:
Botcraft::BaseNode Botcraft::BehaviourTree< SimpleBehaviourClient > Botcraft::BehaviourTree< TDerived > Botcraft::BehaviourTree< Context > Botcraft::Composite< Context > Botcraft::Decorator< Context > Botcraft::Leaf< Context > Botcraft::Selector< Context > Botcraft::Sequence< Context > Botcraft::Inverter< Context > Botcraft::Repeater< Context > Botcraft::Succeeder< Context >

Public Member Functions

virtual ~Node ()
 
Status Tick (Context &context) const
 
- Public Member Functions inherited from Botcraft::BaseNode
 BaseNode (const std::string &name_)
 
virtual ~BaseNode ()
 
virtual BehaviourNodeType GetNodeType () const =0
 
virtual size_t GetNumChildren () const =0
 
virtual const BaseNodeGetChild (const size_t index) const =0
 
std::string GetFullDescriptor () const
 
const std::string & GetName () const
 
std::string GetClassName () const
 

Protected Member Functions

virtual Status TickImpl (Context &context) const =0
 

Private Member Functions

 BaseNode (const std::string &name_)
 

Additional Inherited Members

- Protected Attributes inherited from Botcraft::BaseNode
const std::string name
 

Detailed Description

template<typename Context>
class Botcraft::Node< Context >

Definition at line 28 of file BehaviourTree.hpp.

Constructor & Destructor Documentation

◆ ~Node()

template<typename Context >
virtual Botcraft::Node< Context >::~Node ( )
inlinevirtual

Definition at line 32 of file BehaviourTree.hpp.

Member Function Documentation

◆ BaseNode()

template<typename Context >
Botcraft::BaseNode::BaseNode ( const std::string &  name_)
private

Definition at line 18 of file BaseNode.cpp.

◆ Tick()

template<typename Context >
Status Botcraft::Node< Context >::Tick ( Context &  context) const
inline

Definition at line 33 of file BehaviourTree.hpp.

References Botcraft::Node< Context >::TickImpl().

◆ TickImpl()


The documentation for this class was generated from the following file: