penguins  1.0.0
BotThreadShared Class Reference

Detailed Description

Definition at line 15 of file bot_thread.hh.

Public Member Functions

 BotThreadShared ()
 
void notify_exit ()
 
void wait_for_exit ()
 

Data Fields

bool exited = false
 

Protected Member Functions

 wxDECLARE_NO_COPY_CLASS (BotThreadShared)
 

Protected Attributes

wxMutex mutex {}
 
wxCondition condvar { this->mutex }
 

Field Documentation

◆ exited

bool BotThreadShared::exited = false

Definition at line 22 of file bot_thread.hh.

Referenced by notify_exit(), and wait_for_exit().

◆ mutex

wxMutex BotThreadShared::mutex {}
protected

Definition at line 25 of file bot_thread.hh.

Referenced by notify_exit(), and wait_for_exit().

◆ condvar

wxCondition BotThreadShared::condvar { this->mutex }
protected

Definition at line 26 of file bot_thread.hh.

Referenced by notify_exit(), and wait_for_exit().

Constructor & Destructor Documentation

◆ BotThreadShared()

BotThreadShared::BotThreadShared ( )
inline

Definition at line 17 of file bot_thread.hh.

Member Function Documentation

◆ notify_exit()

void BotThreadShared::notify_exit ( )

Definition at line 18 of file bot_thread.cc.

◆ wait_for_exit()

void BotThreadShared::wait_for_exit ( )

Definition at line 10 of file bot_thread.cc.

◆ wxDECLARE_NO_COPY_CLASS()

BotThreadShared::wxDECLARE_NO_COPY_CLASS ( BotThreadShared  )
protected

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