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

#include <operators.hpp>

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

Public Types

enum  op_t { negate, complement, logical_not }
 
- Public Types inherited from BT::Ast::ExprBase
using Ptr = std::shared_ptr< ExprBase >
 

Public Member Functions

Any evaluate (Environment &env) const override
 
 ExprUnaryArithmetic (op_t op, expr_ptr e)
 
- Public Member Functions inherited from BT::Ast::ExprBase
virtual ~ExprBase ()=default
 

Public Attributes

enum BT::Ast::ExprUnaryArithmetic::op_t op
 
expr_ptr rhs
 

Detailed Description

Definition at line 108 of file operators.hpp.

Member Enumeration Documentation

◆ op_t

Enumerator
negate 
complement 
logical_not 

Definition at line 110 of file operators.hpp.

Constructor & Destructor Documentation

◆ ExprUnaryArithmetic()

BT::Ast::ExprUnaryArithmetic::ExprUnaryArithmetic ( op_t  op,
expr_ptr  e 
)
inlineexplicit

Definition at line 118 of file operators.hpp.

Member Function Documentation

◆ evaluate()

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

Implements BT::Ast::ExprBase.

Definition at line 121 of file operators.hpp.

Member Data Documentation

◆ op

enum BT::Ast::ExprUnaryArithmetic::op_t BT::Ast::ExprUnaryArithmetic::op

◆ rhs

expr_ptr BT::Ast::ExprUnaryArithmetic::rhs

Definition at line 116 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 Dec 13 2024 03:19:18