BehaviorTree
Core Library to create and execute Behavior Trees
Loading...
Searching...
No Matches
BT::Ast::ExprIf Struct Reference
Inheritance diagram for BT::Ast::ExprIf:
Collaboration diagram for BT::Ast::ExprIf:

Public Member Functions

 ExprIf (expr_ptr condition, expr_ptr then, expr_ptr else_)
 
Any evaluate (Environment &env) const override
 
virtual Any evaluate (Environment &env) const =0
 

Public Attributes

expr_ptr condition
 
expr_ptr then
 
expr_ptr else_
 

Additional Inherited Members

- Public Types inherited from BT::Ast::ExprBase
using Ptr = std::shared_ptr< ExprBase >
 

Member Function Documentation

◆ evaluate()

Any BT::Ast::ExprIf::evaluate ( Environment env) const
inlineoverridevirtual

Implements BT::Ast::ExprBase.


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