Public Member Functions | Public Attributes | List of all members
BT::Ast::ExprIf Struct Reference

#include <operators.hpp>

Inheritance diagram for BT::Ast::ExprIf:
Inheritance graph
[legend]

Public Member Functions

Any evaluate (Environment &env) const override
 
 ExprIf (expr_ptr condition, expr_ptr then, expr_ptr else_)
 
- Public Member Functions inherited from BT::Ast::ExprBase
virtual ~ExprBase ()=default
 

Public Attributes

expr_ptr condition
 
expr_ptr else_
 
expr_ptr then
 

Additional Inherited Members

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

Detailed Description

Definition at line 443 of file operators.hpp.

Constructor & Destructor Documentation

◆ ExprIf()

BT::Ast::ExprIf::ExprIf ( expr_ptr  condition,
expr_ptr  then,
expr_ptr  else_ 
)
inlineexplicit

Definition at line 447 of file operators.hpp.

Member Function Documentation

◆ evaluate()

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

Implements BT::Ast::ExprBase.

Definition at line 451 of file operators.hpp.

Member Data Documentation

◆ condition

expr_ptr BT::Ast::ExprIf::condition

Definition at line 445 of file operators.hpp.

◆ else_

expr_ptr BT::Ast::ExprIf::else_

Definition at line 445 of file operators.hpp.

◆ then

expr_ptr BT::Ast::ExprIf::then

Definition at line 445 of file operators.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09