Antkeeper
0.0.1
|
Executes a function on a context and returns the status. More...
#include <node.hpp>
Public Types | |
typedef std::function< status(node< T >::context_type &)> | function_type |
![]() | |
typedef T | context_type |
Data type on which nodes operate. More... | |
Public Member Functions | |
virtual status | execute (node< T >::context_type &context) const final |
![]() | |
virtual status | execute (context_type &context) const =0 |
Executes a node's function and returns its status. More... | |
Public Attributes | |
function_type | function |
Executes a function on a context and returns the status.
typedef std::function<status(node<T>::context_type&)> ai::bt::action< T >::function_type |
|
finalvirtual |
function_type ai::bt::action< T >::function |