WPILibC++ 2024.3.2
wpi::SafeThreadEvent Class Reference

#include <wpi/SafeThread.h>

Inheritance diagram for wpi::SafeThreadEvent:
wpi::SafeThreadBase

Public Member Functions

 SafeThreadEvent ()
 
void Stop () override
 
- Public Member Functions inherited from wpi::SafeThreadBase
virtual ~SafeThreadBase ()=default
 
virtual void Main ()=0
 
virtual void Stop ()=0
 

Public Attributes

Event m_stopEvent
 
- Public Attributes inherited from wpi::SafeThreadBase
wpi::mutex m_mutex
 
std::atomic_bool m_active {true}
 
std::thread::id m_threadId
 

Constructor & Destructor Documentation

◆ SafeThreadEvent()

wpi::SafeThreadEvent::SafeThreadEvent ( )
inline

Member Function Documentation

◆ Stop()

void wpi::SafeThreadEvent::Stop ( )
overridevirtual

Implements wpi::SafeThreadBase.

Member Data Documentation

◆ m_stopEvent

Event wpi::SafeThreadEvent::m_stopEvent

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