Antkeeper  0.0.1
Public Attributes | List of all members
ai::bt::decorator_node< T > Struct Template Reference

A node with exactly one child. More...

#include <node.hpp>

Inheritance diagram for ai::bt::decorator_node< T >:
ai::bt::node< T > ai::bt::inverter< T > ai::bt::repeater< T > ai::bt::succeeder< T >

Public Attributes

node< T > * child
 

Additional Inherited Members

- Public Types inherited from ai::bt::node< T >
typedef T context_type
 Data type on which nodes operate. More...
 
- Public Member Functions inherited from ai::bt::node< T >
virtual status execute (context_type &context) const =0
 Executes a node's function and returns its status. More...
 

Detailed Description

template<class T>
struct ai::bt::decorator_node< T >

A node with exactly one child.

Definition at line 54 of file node.hpp.

Member Data Documentation

◆ child

template<class T >
node<T>* ai::bt::decorator_node< T >::child

Definition at line 56 of file node.hpp.


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