Public Member Functions | Private Attributes | List of all members
BT::WakeUpSignal Class Reference

#include <wakeup_signal.hpp>

Public Member Functions

void emitSignal ()
 
bool waitFor (std::chrono::system_clock::duration tm)
 Return true if the. More...
 

Private Attributes

std::condition_variable cv_
 
std::mutex mutex_
 
bool ready_ = false
 

Detailed Description

Definition at line 11 of file wakeup_signal.hpp.

Member Function Documentation

◆ emitSignal()

void BT::WakeUpSignal::emitSignal ( )
inline

Definition at line 25 of file wakeup_signal.hpp.

◆ waitFor()

bool BT::WakeUpSignal::waitFor ( std::chrono::system_clock::duration  tm)
inline

Return true if the.

Definition at line 15 of file wakeup_signal.hpp.

Member Data Documentation

◆ cv_

std::condition_variable BT::WakeUpSignal::cv_
private

Definition at line 37 of file wakeup_signal.hpp.

◆ mutex_

std::mutex BT::WakeUpSignal::mutex_
private

Definition at line 36 of file wakeup_signal.hpp.

◆ ready_

bool BT::WakeUpSignal::ready_ = false
private

Definition at line 38 of file wakeup_signal.hpp.


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


behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Mon Jul 3 2023 02:50:15