Public Types | Public Attributes | List of all members
BT::Monitor::Hook Struct Reference

#include <groot2_protocol.h>

Public Types

enum  Mode { Mode::BREAKPOINT = 0, Mode::REPLACE = 1 }
 
enum  Position { Position::PRE = 0, Position::POST = 1 }
 
using Ptr = std::shared_ptr< Hook >
 

Public Attributes

NodeStatus desired_status = NodeStatus::SKIPPED
 
bool enabled = true
 
Mode mode = Mode::BREAKPOINT
 
std::mutex mutex
 
uint16_t node_uid = 0
 
Position position = Position::PRE
 
bool ready = false
 
bool remove_when_done = false
 
std::condition_variable wakeup
 

Detailed Description

Definition at line 205 of file groot2_protocol.h.

Member Typedef Documentation

◆ Ptr

using BT::Monitor::Hook::Ptr = std::shared_ptr<Hook>

Definition at line 207 of file groot2_protocol.h.

Member Enumeration Documentation

◆ Mode

Enumerator
BREAKPOINT 
REPLACE 

Definition at line 222 of file groot2_protocol.h.

◆ Position

Enumerator
PRE 
POST 

Definition at line 212 of file groot2_protocol.h.

Member Data Documentation

◆ desired_status

NodeStatus BT::Monitor::Hook::desired_status = NodeStatus::SKIPPED

Definition at line 243 of file groot2_protocol.h.

◆ enabled

bool BT::Monitor::Hook::enabled = true

Definition at line 210 of file groot2_protocol.h.

◆ mode

Mode BT::Monitor::Hook::mode = Mode::BREAKPOINT

Definition at line 229 of file groot2_protocol.h.

◆ mutex

std::mutex BT::Monitor::Hook::mutex

Definition at line 234 of file groot2_protocol.h.

◆ node_uid

uint16_t BT::Monitor::Hook::node_uid = 0

Definition at line 220 of file groot2_protocol.h.

◆ position

Position BT::Monitor::Hook::position = Position::PRE

Definition at line 218 of file groot2_protocol.h.

◆ ready

bool BT::Monitor::Hook::ready = false

Definition at line 237 of file groot2_protocol.h.

◆ remove_when_done

bool BT::Monitor::Hook::remove_when_done = false

Definition at line 240 of file groot2_protocol.h.

◆ wakeup

std::condition_variable BT::Monitor::Hook::wakeup

Definition at line 232 of file groot2_protocol.h.


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