Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
+
Functions
a
b
c
d
e
f
g
i
m
o
p
r
s
t
u
v
w
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
i
m
p
r
s
t
v
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
i
l
m
n
s
t
v
x
z
+
Functions
a
b
c
e
i
m
n
s
t
+
Variables
_
c
d
e
l
s
t
v
x
Typedefs
+
Macros
a
b
c
e
f
i
m
n
s
t
z
tests
include
condition_test_node.h
Go to the documentation of this file.
1
#ifndef CONDITIONTEST_H
2
#define CONDITIONTEST_H
3
4
#include "
behaviortree_cpp_v3/condition_node.h
"
5
6
namespace
BT
7
{
8
class
ConditionTestNode
:
public
ConditionNode
9
{
10
public
:
11
ConditionTestNode
(
const
std::string&
name
);
12
13
void
setExpectedResult
(
NodeStatus
res);
14
15
// The method that is going to be executed by the thread
16
virtual
BT::NodeStatus
tick
()
override
;
17
18
int
tickCount
()
const
19
{
20
return
tick_count_
;
21
}
22
23
private
:
24
NodeStatus
expected_result_
;
25
int
tick_count_
;
26
};
27
}
// namespace BT
28
29
#endif
BT::ConditionTestNode::tick
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
Definition:
condition_test_node.cpp:23
BT::ConditionTestNode::expected_result_
NodeStatus expected_result_
Definition:
condition_test_node.h:24
BT::ConditionTestNode::tick_count_
int tick_count_
Definition:
condition_test_node.h:25
BT::ConditionTestNode::ConditionTestNode
ConditionTestNode(const std::string &name)
Definition:
condition_test_node.cpp:16
condition_node.h
BT::ConditionTestNode::setExpectedResult
void setExpectedResult(NodeStatus res)
Definition:
condition_test_node.cpp:29
BT::TreeNode::name
const std::string & name() const
Name of the instance, not the type.
Definition:
tree_node.cpp:101
BT
Definition:
ex01_wrap_legacy.cpp:29
BT::ConditionTestNode
Definition:
condition_test_node.h:8
BT::ConditionTestNode::tickCount
int tickCount() const
Definition:
condition_test_node.h:18
BT::ConditionNode
Definition:
condition_node.h:21
BT::NodeStatus
NodeStatus
Definition:
basic_types.h:35
behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Mon Jul 3 2023 02:50:14