Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
BT::TimeoutNode Class Reference

#include <timeout_node.h>

Inheritance diagram for BT::TimeoutNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 TimeoutNode (const std::string &name, unsigned milliseconds)
 TimeoutNode (const std::string &name, const NodeParameters &params)

Static Public Member Functions

static const NodeParametersrequiredNodeParameters ()

Private Member Functions

virtual BT::NodeStatus tick () override
 Method to be implemented by the user.

Static Private Member Functions

static TimerQueuetimer ()

Private Attributes

std::atomic< bool > child_halted_
unsigned msec_
bool read_parameter_from_blackboard_
uint64_t timer_id_

Detailed Description

Definition at line 10 of file timeout_node.h.


Constructor & Destructor Documentation

BT::TimeoutNode::TimeoutNode ( const std::string &  name,
unsigned  milliseconds 
)

Definition at line 16 of file timeout_node.cpp.

BT::TimeoutNode::TimeoutNode ( const std::string &  name,
const NodeParameters params 
)

Definition at line 23 of file timeout_node.cpp.


Member Function Documentation

static const NodeParameters& BT::TimeoutNode::requiredNodeParameters ( ) [inline, static]

Definition at line 17 of file timeout_node.h.

NodeStatus BT::TimeoutNode::tick ( ) [override, private, virtual]

Method to be implemented by the user.

Implements BT::TreeNode.

Definition at line 36 of file timeout_node.cpp.

static TimerQueue& BT::TimeoutNode::timer ( ) [inline, static, private]

Definition at line 24 of file timeout_node.h.


Member Data Documentation

std::atomic<bool> BT::TimeoutNode::child_halted_ [private]

Definition at line 32 of file timeout_node.h.

unsigned BT::TimeoutNode::msec_ [private]

Definition at line 35 of file timeout_node.h.

Definition at line 36 of file timeout_node.h.

uint64_t BT::TimeoutNode::timer_id_ [private]

Definition at line 33 of file timeout_node.h.


The documentation for this class was generated from the following files:


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10